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.001633/0.001633, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001759/0.001759, allocations: 210.3 kB / 22.99 MB, free: 4.984 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1355/0.1355, allocations: 23.88 MB / 337.1 MB, free: 10.97 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.001971/0.001971, allocations: 71.88 kB / 472.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 59.87 MB / 0.5198 GB, free: 9.766 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.07074/0.4136, allocations: 23.72 MB / 0.5429 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008024/0.4216, allocations: 5.571 MB / 0.5484 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.4221, allocations: 11.88 kB / 0.5484 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005395/0.4226, allocations: 136.3 kB / 0.5485 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007621/0.4234, allocations: 259.5 kB / 0.5487 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.4262, allocations: 0.9824 MB / 0.5497 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008513/0.427, allocations: 0.5108 MB / 0.5502 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.4274, allocations: 162.8 kB / 0.5504 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.4277, allocations: 255.5 kB / 0.5506 GB, free: 8.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.4281, allocations: 269.1 kB / 0.5509 GB, free: 8.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.4282, allocations: 28 kB / 0.5509 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.4295, allocations: 0.5344 MB / 0.5514 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.4297, allocations: 100.4 kB / 0.5515 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.4299, allocations: 171.5 kB / 0.5517 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.4315, allocations: 1.086 MB / 0.5527 GB, free: 6.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4315, allocations: 4 kB / 0.5527 GB, free: 6.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4315, allocations: 0 / 0.5527 GB, free: 6.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.4315, allocations: 0 / 0.5527 GB, free: 6.777 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.001217/0.4327, allocations: 0.7254 MB / 0.5534 GB, free: 6.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4328, allocations: 11.97 kB / 0.5535 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005619/0.4333, allocations: 116.4 kB / 0.5536 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.4339, allocations: 340.3 kB / 0.5539 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.434, allocations: 21.03 kB / 0.5539 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.304e-05/0.434, allocations: 28.12 kB / 0.5539 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/0.4348, allocations: 447.5 kB / 0.5544 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4348, allocations: 0 / 0.5544 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.4348, allocations: 17.03 kB / 0.5544 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4349, allocations: 8 kB / 0.5544 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000941/0.4358, allocations: 0.5689 MB / 0.5549 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.4383, allocations: 1.608 MB / 0.5565 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.4386, allocations: 132 kB / 0.5566 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4387, allocations: 77.16 kB / 0.5567 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.4408, allocations: 0.9175 MB / 0.5576 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.4408, allocations: 35.31 kB / 0.5576 GB, free: 2.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.4408, allocations: 0 / 0.5576 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004229/0.4412, allocations: 182 kB / 0.5578 GB, free: 1.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.4413, allocations: 60.11 kB / 0.5579 GB, free: 1.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.4417, allocations: 408.3 kB / 0.5583 GB, free: 1.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.4417, allocations: 25.7 kB / 0.5583 GB, free: 1.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.442, allocations: 275.9 kB / 0.5585 GB, free: 1.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.442, allocations: 35.64 kB / 0.5586 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.4421, allocations: 80 kB / 0.5587 GB, free: 1.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4423, allocations: 342.2 kB / 0.559 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4425, allocations: 70.69 kB / 0.5591 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.4428, allocations: 289.6 kB / 0.5593 GB, free: 368 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.4433, allocations: 388.7 kB / 0.5597 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4433, allocations: 0 / 0.5597 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006339/0.4439, allocations: 382.4 kB / 0.5601 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.444, allocations: 8 kB / 0.5601 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.444, allocations: 8.609 kB / 0.5601 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.444, allocations: 12 kB / 0.5601 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.4443, allocations: 91.55 kB / 0.5602 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.4443, allocations: 13.91 kB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.4446, allocations: 47.61 kB / 0.5602 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.4446, allocations: 25.41 kB / 0.5603 GB, free: 15.36 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.0001809/0.4448, allocations: 168.4 kB / 0.5604 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.4449, allocations: 40.47 kB / 0.5605 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.4454, allocations: 223.9 kB / 0.5607 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4454, allocations: 0 / 0.5607 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4454, allocations: 0.7969 kB / 0.5607 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4454, allocations: 3.938 kB / 0.5607 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.446, allocations: 473.8 kB / 0.5611 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.446, allocations: 0 / 0.5611 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.446, allocations: 5.219 kB / 0.5611 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.446, allocations: 0 / 0.5611 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.446, allocations: 384 / 0.5611 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.446, allocations: 3.938 kB / 0.5611 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.446, allocations: 0 / 0.5611 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.4462, allocations: 110.6 kB / 0.5612 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.4462, allocations: 29.72 kB / 0.5613 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.4463, allocations: 0 / 0.5613 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.4463, allocations: 4.516 kB / 0.5613 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.4464, allocations: 8.656 kB / 0.5613 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.4464, allocations: 0 / 0.5613 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003794/0.4467, allocations: 313.2 kB / 0.5616 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4467, allocations: 0 / 0.5616 GB, free: 14.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007059/0.4475, allocations: 187.3 kB / 0.5618 GB, free: 13.85 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.0005863/0.448, allocations: 301.5 kB / 0.562 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003478/0.4484, allocations: 162.1 kB / 0.5622 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4484, allocations: 0 / 0.5622 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.4484, allocations: 9.406 kB / 0.5622 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.4489, allocations: 83.23 kB / 0.5623 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4499, allocations: 0.5506 MB / 0.5628 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.4501, allocations: 184.5 kB / 0.563 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.4504, allocations: 103.4 kB / 0.5631 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.4505, allocations: 40.27 kB / 0.5631 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4505, allocations: 0 / 0.5631 GB, free: 12.54 MB / 414.1 MB Notification: Performance of Templates: time 0.01232/0.4628, allocations: 6.661 MB / 0.5696 GB, free: 6.277 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 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.876297189999605] Failed to read output from testmodel.py, exit status != 0: 0.4713700499996776 0.48566118099999994 0.051134078000000006 Calling exit ...