Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001556/0.001556, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001793/0.001793, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1364/0.1364, allocations: 23.89 MB / 336.3 MB, free: 11.03 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002263/0.002263, allocations: 82.7 kB / 471.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3645, allocations: 59.86 MB / 0.519 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.00409/0.3686, allocations: 2.822 MB / 0.5218 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006249/0.3748, allocations: 5.538 MB / 0.5272 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.3752, allocations: 11.78 kB / 0.5272 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.3758, allocations: 138.2 kB / 0.5273 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007457/0.3766, allocations: 264.5 kB / 0.5276 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.3794, allocations: 0.9671 MB / 0.5285 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007987/0.3802, allocations: 497.7 kB / 0.529 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.3805, allocations: 139.7 kB / 0.5291 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.3808, allocations: 234.8 kB / 0.5294 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.3811, allocations: 244.7 kB / 0.5296 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.3812, allocations: 25.88 kB / 0.5296 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.3828, allocations: 0.513 MB / 0.5301 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.383, allocations: 86.16 kB / 0.5302 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.3832, allocations: 155.8 kB / 0.5303 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.385, allocations: 1.035 MB / 0.5314 GB, free: 2.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.385, allocations: 4 kB / 0.5314 GB, free: 2.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.385, allocations: 4.703 kB / 0.5314 GB, free: 2.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.385, allocations: 1.062 kB / 0.5314 GB, free: 2.18 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.001047/0.386, allocations: 0.682 MB / 0.532 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3861, allocations: 9.156 kB / 0.532 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005608/0.3866, allocations: 112 kB / 0.5321 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.3873, allocations: 323.8 kB / 0.5325 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.3873, allocations: 13.56 kB / 0.5325 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.3873, allocations: 26.47 kB / 0.5325 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.3879, allocations: 380.7 kB / 0.5329 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.388, allocations: 0.5625 kB / 0.5329 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.388, allocations: 15.12 kB / 0.5329 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.388, allocations: 9.219 kB / 0.5329 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.3888, allocations: 0.5458 MB / 0.5334 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.3905, allocations: 1.28 MB / 0.5347 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.3909, allocations: 149.5 kB / 0.5348 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.391, allocations: 87.34 kB / 0.5349 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/0.393, allocations: 0.9377 MB / 0.5358 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.393, allocations: 41.95 kB / 0.5358 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.393, allocations: 0 / 0.5358 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004756/0.3935, allocations: 213.9 kB / 0.5361 GB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.3936, allocations: 53.91 kB / 0.5361 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.394, allocations: 352.3 kB / 0.5364 GB, free: 15.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.394, allocations: 30.64 kB / 0.5365 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.3942, allocations: 243.7 kB / 0.5367 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3943, allocations: 45.78 kB / 0.5367 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3945, allocations: 69.98 kB / 0.5368 GB, free: 14.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3946, allocations: 348.2 kB / 0.5371 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3947, allocations: 59.78 kB / 0.5372 GB, free: 14.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.395, allocations: 250.8 kB / 0.5374 GB, free: 14.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.3955, allocations: 340 kB / 0.5378 GB, free: 13.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3955, allocations: 2.688 kB / 0.5378 GB, free: 13.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005922/0.3961, allocations: 354.8 kB / 0.5381 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3961, allocations: 8.953 kB / 0.5381 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3961, allocations: 5.5 kB / 0.5381 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.3962, allocations: 9.625 kB / 0.5381 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.3964, allocations: 79.58 kB / 0.5382 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.3964, allocations: 9.516 kB / 0.5382 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.3966, allocations: 32.47 kB / 0.5382 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.3966, allocations: 25.28 kB / 0.5383 GB, free: 13.76 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.0001771/0.3968, allocations: 159.5 kB / 0.5384 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.3969, allocations: 33.33 kB / 0.5385 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005876/0.3975, allocations: 280.5 kB / 0.5387 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3975, allocations: 1.703 kB / 0.5387 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3975, allocations: 1.156 kB / 0.5387 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3975, allocations: 0.6562 kB / 0.5387 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007533/0.3982, allocations: 0.5549 MB / 0.5393 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3982, allocations: 2.438 kB / 0.5393 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.3983, allocations: 9.891 kB / 0.5393 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.3983, allocations: 11.45 kB / 0.5393 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3983, allocations: 5.375 kB / 0.5393 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3983, allocations: 3.219 kB / 0.5393 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3983, allocations: 5.188 kB / 0.5393 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3986, allocations: 171.3 kB / 0.5395 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.3987, allocations: 37.38 kB / 0.5395 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.3987, allocations: 11.75 kB / 0.5395 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.3988, allocations: 6.906 kB / 0.5395 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.3988, allocations: 9.984 kB / 0.5395 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.3988, allocations: 2.812 kB / 0.5395 GB, free: 12.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003589/0.3992, allocations: 281.5 kB / 0.5398 GB, free: 12.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3992, allocations: 0 / 0.5398 GB, free: 12.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007079/0.3999, allocations: 172.5 kB / 0.54 GB, free: 12.59 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.0007431/0.4006, allocations: 307.8 kB / 0.5403 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003725/0.401, allocations: 156.1 kB / 0.5404 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.401, allocations: 1.031 kB / 0.5404 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.587e-05/0.4011, allocations: 32.97 kB / 0.5404 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/0.4016, allocations: 88.31 kB / 0.5405 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4027, allocations: 0.5466 MB / 0.5411 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.4029, allocations: 166.7 kB / 0.5412 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.4032, allocations: 95.84 kB / 0.5413 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.604e-05/0.4033, allocations: 43.33 kB / 0.5413 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4033, allocations: 0 / 0.5413 GB, free: 11.82 MB / 398.1 MB Notification: Performance of Templates: time 0.01379/0.4171, allocations: 6.411 MB / 0.5476 GB, free: 9.562 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.859906854107976] Failed to read output from testmodel.py, exit status != 0: 0.42629492096602917 0.447295376 0.058022961000000005 Calling exit ...