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.001905/0.001905, allocations: 110 kB / 16.46 MB, free: 6.453 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.002146/0.002146, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.514/1.514, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] 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.1414/0.1414, allocations: 23.88 MB / 332.7 MB, free: 12.33 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.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: 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.002097/0.002097, allocations: 71.89 kB / 466.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3517, allocations: 59.82 MB / 0.514 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.003646/0.3553, allocations: 3.027 MB / 0.517 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006014/0.3613, allocations: 6.327 MB / 0.5232 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.3617, allocations: 12.19 kB / 0.5232 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005035/0.3622, allocations: 154.4 kB / 0.5233 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.3629, allocations: 254 kB / 0.5236 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.3653, allocations: 0.9596 MB / 0.5245 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006761/0.3659, allocations: 498.8 kB / 0.525 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.3662, allocations: 138.2 kB / 0.5251 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.3664, allocations: 230.3 kB / 0.5253 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.3668, allocations: 254.3 kB / 0.5256 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.425e-05/0.3668, allocations: 24.34 kB / 0.5256 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.3684, allocations: 0.5588 MB / 0.5261 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3685, allocations: 83.03 kB / 0.5262 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3687, allocations: 180.2 kB / 0.5264 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.3702, allocations: 1.047 MB / 0.5274 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3702, allocations: 0 / 0.5274 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3702, allocations: 0 / 0.5274 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3702, allocations: 1.094 kB / 0.5274 GB, free: 0.4922 MB / 382.1 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.001076/0.3713, allocations: 0.7682 MB / 0.5282 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3714, allocations: 9.156 kB / 0.5282 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005736/0.3719, allocations: 109.3 kB / 0.5283 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.3726, allocations: 383.7 kB / 0.5286 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.3726, allocations: 17.31 kB / 0.5287 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.3727, allocations: 26.19 kB / 0.5287 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/0.3734, allocations: 387.3 kB / 0.5291 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3734, allocations: 3.984 kB / 0.5291 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.3734, allocations: 10.5 kB / 0.5291 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3734, allocations: 7.266 kB / 0.5291 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3745, allocations: 0.5452 MB / 0.5296 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.3765, allocations: 1.411 MB / 0.531 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.3769, allocations: 158.6 kB / 0.5311 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.377, allocations: 87.89 kB / 0.5312 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002548/0.3796, allocations: 1.899 MB / 0.5331 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3796, allocations: 31.75 kB / 0.5331 GB, free: 12.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.3796, allocations: 0 / 0.5331 GB, free: 12.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004991/0.3801, allocations: 224.5 kB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3802, allocations: 56.75 kB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.3806, allocations: 377.1 kB / 0.5337 GB, free: 12.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.3806, allocations: 35.17 kB / 0.5338 GB, free: 12.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.3808, allocations: 227.2 kB / 0.534 GB, free: 11.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.3808, allocations: 54.09 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.381, allocations: 74.52 kB / 0.5341 GB, free: 11.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3811, allocations: 341.1 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3813, allocations: 65.02 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.3815, allocations: 248.3 kB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.382, allocations: 338.7 kB / 0.535 GB, free: 10.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.382, allocations: 2.219 kB / 0.5351 GB, free: 10.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006092/0.3826, allocations: 352.7 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3826, allocations: 8.094 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3826, allocations: 7.422 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.3826, allocations: 8.156 kB / 0.5354 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3829, allocations: 81.09 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.3829, allocations: 13.91 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.3831, allocations: 41.58 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.3832, allocations: 23.44 kB / 0.5356 GB, free: 10.62 MB / 398.1 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 0.0001805/0.3834, allocations: 166.6 kB / 0.5357 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.3834, allocations: 36.36 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005394/0.384, allocations: 277.7 kB / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.384, allocations: 5.219 kB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.384, allocations: 0 / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.384, allocations: 5.531 kB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.3847, allocations: 0.6437 MB / 0.5367 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3847, allocations: 1.594 kB / 0.5367 GB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.3848, allocations: 15.27 kB / 0.5367 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3848, allocations: 2.188 kB / 0.5367 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.3848, allocations: 6.594 kB / 0.5367 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3848, allocations: 1.156 kB / 0.5367 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3848, allocations: 6.156 kB / 0.5367 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.385, allocations: 182.6 kB / 0.5369 GB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3852, allocations: 116.9 kB / 0.537 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.3852, allocations: 7.047 kB / 0.537 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.3853, allocations: 2.188 kB / 0.537 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.3853, allocations: 8.953 kB / 0.537 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3853, allocations: 7.5 kB / 0.537 GB, free: 9.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003731/0.3857, allocations: 314.5 kB / 0.5373 GB, free: 9.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3857, allocations: 0 / 0.5373 GB, free: 9.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006434/0.3864, allocations: 171.7 kB / 0.5375 GB, free: 9.246 MB / 398.1 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.0005444/0.3869, allocations: 302.1 kB / 0.5378 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.3872, allocations: 158.9 kB / 0.5379 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3872, allocations: 4.062 kB / 0.5379 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/0.3873, allocations: 31.53 kB / 0.5379 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.3878, allocations: 85.72 kB / 0.538 GB, free: 8.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.3887, allocations: 0.5577 MB / 0.5386 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.3891, allocations: 0.7753 MB / 0.5393 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002649/0.3894, allocations: 91.27 kB / 0.5394 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.3894, allocations: 45.91 kB / 0.5395 GB, free: 7.867 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3894, allocations: 0 / 0.5395 GB, free: 7.867 MB / 398.1 MB Notification: Performance of Templates: time 0.01336/0.4028, allocations: 6.377 MB / 0.5457 GB, free: 5.832 MB / 398.1 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.075009606778622] Failed to read output from testmodel.py, exit status != 0: 0.4111931468360126 0.424731414 0.051606545000000004 Calling exit ...