Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9094/0.9094, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.08445/0.08445, allocations: 17.47 MB / 277.7 MB, free: 11.44 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 300.7 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.202e-05, allocations: 4.562 kB / 300.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.002654/0.002666, allocations: 2.885 MB / 303.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003258/0.005924, allocations: 3.511 MB / 307.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.006066, allocations: 11.78 kB / 307.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.006345, allocations: 100.2 kB / 307.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.006744, allocations: 214.7 kB / 307.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008634/0.007608, allocations: 0.5716 MB / 308 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004967/0.008104, allocations: 0.4973 MB / 308.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.008304, allocations: 143.9 kB / 308.7 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.008533, allocations: 307.5 kB / 309 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.008771, allocations: 207.5 kB / 309.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.008809, allocations: 31.94 kB / 309.2 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.009187, allocations: 279.4 kB / 309.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.413e-05/0.009271, allocations: 91.66 kB / 309.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.549e-05/0.009366, allocations: 119.7 kB / 309.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.009991, allocations: 0.677 MB / 310.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.009993, allocations: 0 / 310.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.009994, allocations: 0 / 310.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.009999, allocations: 0 / 310.3 MB, free: 10.51 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005584/0.01056, allocations: 0.6078 MB / 311 MB, free: 9.875 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.01059, allocations: 12.03 kB / 311 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003244/0.01091, allocations: 168 kB / 311.1 MB, free: 9.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.0112, allocations: 293.5 kB / 311.4 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.01122, allocations: 16.88 kB / 311.4 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.01125, allocations: 24.38 kB / 311.5 MB, free: 9.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.01152, allocations: 306 kB / 311.8 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.01152, allocations: 3.938 kB / 311.8 MB, free: 9.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.01155, allocations: 12 kB / 311.8 MB, free: 9.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.01155, allocations: 4 kB / 311.8 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.01185, allocations: 324.1 kB / 312.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008888/0.01274, allocations: 1.118 MB / 313.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.01288, allocations: 136.1 kB / 313.3 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.01294, allocations: 40.84 kB / 313.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008057/0.01374, allocations: 0.8063 MB / 314.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.01376, allocations: 34.56 kB / 314.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.01376, allocations: 3.984 kB / 314.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001777/0.01394, allocations: 145.5 kB / 314.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.01397, allocations: 55.34 kB / 314.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.01413, allocations: 327.2 kB / 314.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.01415, allocations: 25.7 kB / 314.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.01423, allocations: 208.5 kB / 315 MB, free: 5.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.01425, allocations: 47.62 kB / 315 MB, free: 5.633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.01431, allocations: 69.62 kB / 315.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.01439, allocations: 346.8 kB / 315.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.01443, allocations: 30.81 kB / 315.5 MB, free: 5.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.01455, allocations: 217.4 kB / 315.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.01473, allocations: 283.2 kB / 315.9 MB, free: 4.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01474, allocations: 4 kB / 316 MB, free: 4.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002063/0.01494, allocations: 227.8 kB / 316.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.01496, allocations: 8.875 kB / 316.2 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.01496, allocations: 8 kB / 316.2 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01498, allocations: 12 kB / 316.2 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.0151, allocations: 79.84 kB / 316.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.01511, allocations: 15.94 kB / 316.3 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.048e-05/0.0152, allocations: 35.73 kB / 316.3 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.01522, allocations: 27.98 kB / 316.4 MB, free: 4.094 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.93e-05/0.0153, allocations: 132.5 kB / 316.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.01533, allocations: 19.98 kB / 316.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.01561, allocations: 261.3 kB / 316.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.01561, allocations: 0 / 316.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01561, allocations: 0 / 316.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.01562, allocations: 0 / 316.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.01589, allocations: 483.7 kB / 317.2 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.0159, allocations: 0 / 317.2 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.01592, allocations: 16 kB / 317.2 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01592, allocations: 4.188 kB / 317.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.01593, allocations: 4 kB / 317.3 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01593, allocations: 3.938 kB / 317.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01593, allocations: 4 kB / 317.3 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.934e-05/0.01602, allocations: 145.1 kB / 317.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.01605, allocations: 27.81 kB / 317.4 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.01608, allocations: 7.984 kB / 317.4 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.909e-05/0.01612, allocations: 0 / 317.4 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.576e-05/0.01613, allocations: 15.88 kB / 317.5 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.01614, allocations: 7.938 kB / 317.5 MB, free: 2.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.346e-05/0.01623, allocations: 144.7 kB / 317.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01623, allocations: 0 / 317.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.01649, allocations: 123.6 kB / 317.7 MB, free: 2.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002051/0.01669, allocations: 184 kB / 317.9 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01684, allocations: 122 kB / 318 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.01684, allocations: 4 kB / 318 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.01686, allocations: 16.8 kB / 318 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01709, allocations: 91.98 kB / 318.1 MB, free: 2.172 MB / 282.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.0179, allocations: 0.5474 MB / 318.7 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.634e-05/0.01794, allocations: 92.3 kB / 318.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.01809, allocations: 68.98 kB / 318.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.01823, allocations: 123.3 kB / 319 MB, free: 1.285 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01823, allocations: 0 / 319 MB, free: 1.285 MB / 282.7 MB Notification: Performance of Templates: time 0.006199/0.02443, allocations: 5.237 MB / 324.2 MB, free: 12.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6756128617562354]