Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.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.001407/0.001407, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001437/0.001437, allocations: 156.5 kB / 23.01 MB, free: 4.605 MB / 14.72 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 1.379/1.379, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.1 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.121/0.121, allocations: 17.43 MB / 277.2 MB, free: 15.24 MB / 270.1 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 59.91 kB / 412.6 MB, free: 5.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1233, allocations: 59.88 MB / 472.4 MB, free: 9.609 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.SimpleReaction2): time 0.4211/0.5444, allocations: 25.49 MB / 497.9 MB, free: 39.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009567/0.554, allocations: 10.26 MB / 0.4963 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005049/0.5545, allocations: 18.5 kB / 0.4963 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.5551, allocations: 233.5 kB / 0.4965 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.5571, allocations: 1.007 MB / 0.4975 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.5602, allocations: 1.528 MB / 0.499 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.5615, allocations: 1.253 MB / 0.5002 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/0.5621, allocations: 0.557 MB / 0.5008 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005622/0.5626, allocations: 0.6228 MB / 0.5014 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007466/0.5634, allocations: 0.6094 MB / 0.502 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.5635, allocations: 107 kB / 0.5021 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.5663, allocations: 1.223 MB / 0.5033 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.5665, allocations: 260.7 kB / 0.5035 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.5669, allocations: 471.7 kB / 0.504 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.5704, allocations: 2.58 MB / 0.5065 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5704, allocations: 0 / 0.5065 GB, free: 29.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.5704, allocations: 0 / 0.5065 GB, free: 29.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.5704, allocations: 1.125 kB / 0.5065 GB, free: 29.28 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002393/0.5728, allocations: 1.454 MB / 0.5079 GB, free: 28.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.5729, allocations: 8.344 kB / 0.5079 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008349/0.5737, allocations: 218.3 kB / 0.5081 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007601/0.5744, allocations: 0.5296 MB / 0.5086 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-05/0.5745, allocations: 119.6 kB / 0.5087 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.5747, allocations: 91.62 kB / 0.5088 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.5761, allocations: 1.05 MB / 0.5099 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.5761, allocations: 0 / 0.5099 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.833e-05/0.5762, allocations: 36.25 kB / 0.5099 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5762, allocations: 20.62 kB / 0.5099 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.5779, allocations: 1.26 MB / 0.5111 GB, free: 27.02 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.582, allocations: 2.704 MB / 0.5138 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.5839, allocations: 1.229 MB / 0.515 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.5844, allocations: 394.1 kB / 0.5154 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003765/0.5882, allocations: 2.08 MB / 0.5174 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.5882, allocations: 38.53 kB / 0.5174 GB, free: 23.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=56): time 2.695e-06/0.5882, allocations: 0 / 0.5174 GB, free: 23.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=63): time 0.002833/0.591, allocations: 1.595 MB / 0.519 GB, free: 23.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.591, allocations: 62.69 kB / 0.519 GB, free: 23.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.5915, allocations: 0.4982 MB / 0.5195 GB, free: 22.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.5915, allocations: 39.95 kB / 0.5196 GB, free: 22.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.5917, allocations: 475.5 kB / 0.52 GB, free: 22.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.5918, allocations: 237.7 kB / 0.5203 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.592, allocations: 174 kB / 0.5204 GB, free: 22.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.5921, allocations: 374.5 kB / 0.5208 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.5925, allocations: 210.1 kB / 0.521 GB, free: 21.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.5929, allocations: 0.5333 MB / 0.5215 GB, free: 21.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008695/0.5938, allocations: 0.8214 MB / 0.5223 GB, free: 20.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5938, allocations: 2.562 kB / 0.5223 GB, free: 20.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001196/0.595, allocations: 0.8454 MB / 0.5231 GB, free: 20.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.595, allocations: 9.5 kB / 0.5231 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.595, allocations: 10.47 kB / 0.5231 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.595, allocations: 16.38 kB / 0.5232 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009033/0.5959, allocations: 277.8 kB / 0.5234 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.596, allocations: 23.7 kB / 0.5235 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.5964, allocations: 30.84 kB / 0.5235 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.5965, allocations: 51.39 kB / 0.5235 GB, free: 20.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * 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 0.0002433/0.5967, allocations: 236.8 kB / 0.5238 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.5968, allocations: 69.78 kB / 0.5238 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.598, allocations: 0.6875 MB / 0.5245 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.598, allocations: 11.66 kB / 0.5245 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.598, allocations: 0 / 0.5245 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.598, allocations: 3.422 kB / 0.5245 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/0.5988, allocations: 0.5751 MB / 0.5251 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5988, allocations: 6.562 kB / 0.5251 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.5995, allocations: 173.5 kB / 0.5252 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.5995, allocations: 4.281 kB / 0.5252 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.5996, allocations: 22.16 kB / 0.5253 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.5996, allocations: 3.438 kB / 0.5253 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5996, allocations: 9 kB / 0.5253 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.6008, allocations: 0.9509 MB / 0.5262 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.601, allocations: 111.2 kB / 0.5263 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.6011, allocations: 12.38 kB / 0.5263 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.6013, allocations: 12.31 kB / 0.5263 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.6014, allocations: 62.3 kB / 0.5264 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.6015, allocations: 26.73 kB / 0.5264 GB, free: 18.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.6017, allocations: 316 kB / 0.5267 GB, free: 18.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6017, allocations: 3.938 kB / 0.5267 GB, free: 18.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001222/0.603, allocations: 487.3 kB / 0.5272 GB, free: 18.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.logn) * 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 (71): * Single equations (assignments): 71 * 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.000781/0.6037, allocations: 0.5968 MB / 0.5278 GB, free: 18.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007192/0.6045, allocations: 0.5751 MB / 0.5283 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6045, allocations: 320 / 0.5283 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002882/0.6047, allocations: 265.8 kB / 0.5286 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/0.6054, allocations: 160 kB / 0.5287 GB, free: 17.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.6073, allocations: 1.517 MB / 0.5302 GB, free: 16.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.6075, allocations: 368.6 kB / 0.5306 GB, free: 16.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004191/0.6079, allocations: 163.7 kB / 0.5307 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.6081, allocations: 97.55 kB / 0.5308 GB, free: 16.69 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6081, allocations: 0 / 0.5308 GB, free: 16.69 MB / 446.1 MB Notification: Performance of Templates: time 0.02172/0.6298, allocations: 14.19 MB / 0.5447 GB, free: 9.691 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.18737246200908] Failed to read output from testmodel.py, exit status != 0: 0.638292124029249 0.648078682 0.07471477800000001 Calling exit ...