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.001377/0.001377, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001668/0.001668, allocations: 218.1 kB / 22.25 MB, free: 5.254 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.785 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.1415/0.1415, allocations: 23.88 MB / 336.3 MB, free: 10.95 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.002097/0.002097, allocations: 71.89 kB / 471.6 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.409, allocations: 59.86 MB / 0.519 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction): time 0.004485/0.4135, allocations: 2.815 MB / 0.5218 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006948/0.4204, allocations: 5.549 MB / 0.5272 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.4208, allocations: 12.28 kB / 0.5272 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.4214, allocations: 135.2 kB / 0.5273 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007731/0.4222, allocations: 259.3 kB / 0.5276 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.4253, allocations: 0.9673 MB / 0.5285 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009176/0.4262, allocations: 498.6 kB / 0.529 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.4265, allocations: 139.1 kB / 0.5291 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.4268, allocations: 238.3 kB / 0.5294 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.4273, allocations: 249.3 kB / 0.5296 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.4273, allocations: 24.62 kB / 0.5296 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.4292, allocations: 0.5326 MB / 0.5301 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.4294, allocations: 86.7 kB / 0.5302 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.4296, allocations: 155.8 kB / 0.5304 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.4319, allocations: 1.039 MB / 0.5314 GB, free: 2.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4319, allocations: 0 / 0.5314 GB, free: 2.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4319, allocations: 0 / 0.5314 GB, free: 2.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.4319, allocations: 0 / 0.5314 GB, free: 2.137 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.001187/0.4331, allocations: 0.6902 MB / 0.5321 GB, free: 1.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.4331, allocations: 9.922 kB / 0.5321 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006844/0.4338, allocations: 116.9 kB / 0.5322 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/0.4345, allocations: 310.7 kB / 0.5325 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.4346, allocations: 18.05 kB / 0.5325 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.4346, allocations: 30.03 kB / 0.5325 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000697/0.4353, allocations: 385.4 kB / 0.5329 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4353, allocations: 0 / 0.5329 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.4354, allocations: 10.91 kB / 0.5329 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.4354, allocations: 5.938 kB / 0.5329 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.4364, allocations: 0.5417 MB / 0.5334 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.4382, allocations: 1.283 MB / 0.5347 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.4386, allocations: 159 kB / 0.5348 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.4388, allocations: 86.86 kB / 0.5349 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002121/0.4409, allocations: 0.9356 MB / 0.5358 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.441, allocations: 35.88 kB / 0.5359 GB, free: 15.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.441, allocations: 0 / 0.5359 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005536/0.4415, allocations: 220.1 kB / 0.5361 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.4416, allocations: 58.16 kB / 0.5361 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005223/0.4421, allocations: 352 kB / 0.5365 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.4422, allocations: 25.7 kB / 0.5365 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.4424, allocations: 236.3 kB / 0.5367 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.4425, allocations: 47.78 kB / 0.5368 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.4426, allocations: 70.45 kB / 0.5368 GB, free: 14.83 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.4429, allocations: 347.5 kB / 0.5372 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.443, allocations: 60.73 kB / 0.5372 GB, free: 14.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.4433, allocations: 247.9 kB / 0.5375 GB, free: 14.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.4438, allocations: 345.8 kB / 0.5378 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4439, allocations: 1.312 kB / 0.5378 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006407/0.4445, allocations: 354.9 kB / 0.5381 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.4445, allocations: 11.09 kB / 0.5381 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.4445, allocations: 7 kB / 0.5381 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.4446, allocations: 8.438 kB / 0.5382 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.4448, allocations: 73.59 kB / 0.5382 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.429e-05/0.4448, allocations: 13.8 kB / 0.5382 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.445, allocations: 37.14 kB / 0.5383 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.819e-05/0.4451, allocations: 33.34 kB / 0.5383 GB, free: 13.7 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.0001984/0.4453, allocations: 155 kB / 0.5384 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.4454, allocations: 34.55 kB / 0.5385 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006546/0.446, allocations: 275.6 kB / 0.5387 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4461, allocations: 1.469 kB / 0.5387 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4461, allocations: 0 / 0.5387 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4461, allocations: 6.234 kB / 0.5388 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000854/0.4469, allocations: 0.5461 MB / 0.5393 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4469, allocations: 3.234 kB / 0.5393 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.447, allocations: 14.02 kB / 0.5393 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.447, allocations: 7.047 kB / 0.5393 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.447, allocations: 1.281 kB / 0.5393 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.447, allocations: 6.922 kB / 0.5393 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.447, allocations: 1.312 kB / 0.5393 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.4473, allocations: 180.7 kB / 0.5395 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.4474, allocations: 28.39 kB / 0.5395 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.853e-05/0.4475, allocations: 19.61 kB / 0.5395 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.4475, allocations: 7 kB / 0.5395 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.4476, allocations: 8.641 kB / 0.5396 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.4476, allocations: 3.562 kB / 0.5396 GB, free: 12.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004061/0.448, allocations: 280.6 kB / 0.5398 GB, free: 12.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.448, allocations: 0.875 kB / 0.5398 GB, free: 12.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007929/0.4488, allocations: 172.3 kB / 0.54 GB, free: 12.53 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.0006751/0.4494, allocations: 305.6 kB / 0.5403 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.4498, allocations: 156.1 kB / 0.5404 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4498, allocations: 1.125 kB / 0.5404 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.785e-05/0.4499, allocations: 31.95 kB / 0.5405 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.4504, allocations: 82.28 kB / 0.5405 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4516, allocations: 0.5533 MB / 0.5411 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.4518, allocations: 166.5 kB / 0.5412 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.4521, allocations: 91.83 kB / 0.5413 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.903e-05/0.4522, allocations: 43.36 kB / 0.5414 GB, free: 11.77 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4522, allocations: 0 / 0.5414 GB, free: 11.77 MB / 398.1 MB Notification: Performance of Templates: time 0.01533/0.4675, allocations: 6.486 MB / 0.5477 GB, free: 9.492 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: 5.2801277711987495] Failed to read output from testmodel.py, exit status != 0: 0.47825263906270266 0.49414533000000005 0.05911269500000001 Calling exit ...