Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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.001308/0.001308, allocations: 100.4 kB / 19.7 MB, free: 1.98 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.001474/0.001474, allocations: 216.3 kB / 23 MB, free: 4.926 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1383/0.1383, allocations: 23.87 MB / 337.1 MB, free: 10.96 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.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [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.00205/0.00205, allocations: 63.91 kB / 472.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3556, allocations: 59.87 MB / 0.5198 GB, free: 9.785 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638:65: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 2.0.0/Obsolete.mo:12638:6-12638:65: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.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.06986/0.4255, allocations: 23.77 MB / 0.543 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008092/0.4336, allocations: 5.559 MB / 0.5484 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004646/0.434, allocations: 15.81 kB / 0.5484 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.4346, allocations: 136 kB / 0.5485 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007645/0.4353, allocations: 255.9 kB / 0.5488 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.4382, allocations: 0.9898 MB / 0.5498 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008686/0.4391, allocations: 0.5035 MB / 0.5502 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.4394, allocations: 167.4 kB / 0.5504 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.4397, allocations: 250.5 kB / 0.5506 GB, free: 8.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.4402, allocations: 269.4 kB / 0.5509 GB, free: 8.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.4402, allocations: 28 kB / 0.5509 GB, free: 8.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.4416, allocations: 0.5372 MB / 0.5515 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.4418, allocations: 96.42 kB / 0.5515 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.442, allocations: 168.5 kB / 0.5517 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.4437, allocations: 1.099 MB / 0.5528 GB, free: 6.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4437, allocations: 0 / 0.5528 GB, free: 6.703 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4437, allocations: 0 / 0.5528 GB, free: 6.703 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.4437, allocations: 0 / 0.5528 GB, free: 6.703 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001157/0.4449, allocations: 0.7231 MB / 0.5535 GB, free: 6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4449, allocations: 8.031 kB / 0.5535 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005642/0.4455, allocations: 118.6 kB / 0.5536 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.446, allocations: 345.2 kB / 0.5539 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.4461, allocations: 21.03 kB / 0.554 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.197e-05/0.4461, allocations: 28.12 kB / 0.554 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.4469, allocations: 446.8 kB / 0.5544 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.4469, allocations: 4 kB / 0.5544 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.4469, allocations: 16 kB / 0.5544 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4469, allocations: 8 kB / 0.5544 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/0.4479, allocations: 0.573 MB / 0.555 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.4502, allocations: 1.616 MB / 0.5566 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.4505, allocations: 128 kB / 0.5567 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.4507, allocations: 77.11 kB / 0.5568 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/0.4527, allocations: 0.9103 MB / 0.5577 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4528, allocations: 38.56 kB / 0.5577 GB, free: 2.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.4528, allocations: 0 / 0.5577 GB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004131/0.4532, allocations: 186.3 kB / 0.5579 GB, free: 1.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4532, allocations: 52.02 kB / 0.5579 GB, free: 1.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.4537, allocations: 404.2 kB / 0.5583 GB, free: 1.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.4537, allocations: 29.7 kB / 0.5583 GB, free: 1.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.4539, allocations: 272.8 kB / 0.5586 GB, free: 1.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.454, allocations: 38.89 kB / 0.5586 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.4541, allocations: 76.33 kB / 0.5587 GB, free: 1.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4543, allocations: 345.7 kB / 0.559 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.4544, allocations: 70.5 kB / 0.5591 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.4547, allocations: 285.8 kB / 0.5594 GB, free: 292 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.4552, allocations: 392.9 kB / 0.5598 GB, free: 15.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.4552, allocations: 4 kB / 0.5598 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006389/0.4558, allocations: 377.9 kB / 0.5601 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4559, allocations: 8.844 kB / 0.5601 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4559, allocations: 11.94 kB / 0.5601 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.4559, allocations: 12 kB / 0.5601 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.4562, allocations: 87.14 kB / 0.5602 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.4562, allocations: 13.86 kB / 0.5602 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.4565, allocations: 44.42 kB / 0.5603 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.4565, allocations: 29.36 kB / 0.5603 GB, free: 15.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (38): * Single equations (assignments): 38 * 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.0001718/0.4567, allocations: 164.6 kB / 0.5605 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.4568, allocations: 36.28 kB / 0.5605 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.4572, allocations: 239.3 kB / 0.5607 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4572, allocations: 0 / 0.5607 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4572, allocations: 3.938 kB / 0.5607 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4572, allocations: 8.859 kB / 0.5607 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.4578, allocations: 465.5 kB / 0.5612 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4578, allocations: 0.5625 kB / 0.5612 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.506e-05/0.4578, allocations: 4.562 kB / 0.5612 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4578, allocations: 0 / 0.5612 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.4578, allocations: 4.453 kB / 0.5612 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4578, allocations: 3.938 kB / 0.5612 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4578, allocations: 4.516 kB / 0.5612 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.458, allocations: 105.8 kB / 0.5613 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.458, allocations: 29.88 kB / 0.5613 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.4581, allocations: 5.328 kB / 0.5613 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.4582, allocations: 7.938 kB / 0.5613 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.4582, allocations: 4.031 kB / 0.5614 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.4582, allocations: 0.7031 kB / 0.5614 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003656/0.4586, allocations: 312.4 kB / 0.5617 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4586, allocations: 0 / 0.5617 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006303/0.4592, allocations: 187.8 kB / 0.5618 GB, free: 13.76 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0005721/0.4598, allocations: 293.1 kB / 0.5621 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.4601, allocations: 153.5 kB / 0.5623 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4601, allocations: 0 / 0.5623 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.4601, allocations: 15.48 kB / 0.5623 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.4606, allocations: 90.02 kB / 0.5624 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.4615, allocations: 0.5716 MB / 0.5629 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.4617, allocations: 175.2 kB / 0.5631 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.4618, allocations: 72.42 kB / 0.5632 GB, free: 12.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4618, allocations: 0 / 0.5632 GB, free: 12.48 MB / 414.1 MB Notification: Performance of Templates: time 0.009287/0.4711, allocations: 6.08 MB / 0.5691 GB, free: 6.762 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.129359258979093] Failed to read output from testmodel.py, exit status != 0: 0.4794966449844651 0.493437283 0.046725671 Calling exit ...