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.001299/0.001299, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001476/0.001476, allocations: 216.6 kB / 23.01 MB, free: 4.609 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.1346/0.1346, allocations: 23.85 MB / 337 MB, free: 11.25 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.002042/0.002042, allocations: 71.89 kB / 472.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 59.85 MB / 0.5198 GB, free: 9.855 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.03389/0.3268, allocations: 23.92 MB / 0.5432 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008226/0.335, allocations: 6.368 MB / 0.5494 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.3354, allocations: 15.81 kB / 0.5494 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.3359, allocations: 152.6 kB / 0.5495 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006858/0.3366, allocations: 255.3 kB / 0.5498 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.3389, allocations: 0.9859 MB / 0.5507 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007614/0.3397, allocations: 0.511 MB / 0.5512 GB, free: 8.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.34, allocations: 167 kB / 0.5514 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.3403, allocations: 251.2 kB / 0.5516 GB, free: 7.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/0.3407, allocations: 266 kB / 0.5519 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.3408, allocations: 28 kB / 0.5519 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.3421, allocations: 0.5632 MB / 0.5525 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.3423, allocations: 99.55 kB / 0.5526 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.3425, allocations: 208.2 kB / 0.5528 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.3441, allocations: 1.09 MB / 0.5538 GB, free: 5.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3441, allocations: 0 / 0.5538 GB, free: 5.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3441, allocations: 0 / 0.5538 GB, free: 5.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3441, allocations: 0 / 0.5538 GB, free: 5.98 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.001219/0.3453, allocations: 0.7299 MB / 0.5545 GB, free: 5.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3454, allocations: 12.62 kB / 0.5546 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005586/0.3459, allocations: 118.6 kB / 0.5547 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.3465, allocations: 335.4 kB / 0.555 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3465, allocations: 25.03 kB / 0.555 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.3466, allocations: 28.12 kB / 0.555 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.3473, allocations: 443.9 kB / 0.5555 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3473, allocations: 4 kB / 0.5555 GB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.3473, allocations: 12 kB / 0.5555 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.3473, allocations: 8 kB / 0.5555 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009037/0.3482, allocations: 0.5778 MB / 0.556 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.3507, allocations: 1.731 MB / 0.5577 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.351, allocations: 128.1 kB / 0.5579 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.3511, allocations: 76.5 kB / 0.5579 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/0.3531, allocations: 0.9453 MB / 0.5589 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3531, allocations: 39.17 kB / 0.5589 GB, free: 1.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3531, allocations: 0 / 0.5589 GB, free: 1.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004116/0.3535, allocations: 190.1 kB / 0.5591 GB, free: 1.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.3536, allocations: 56.33 kB / 0.5591 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.3541, allocations: 435.5 kB / 0.5595 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.3541, allocations: 29.7 kB / 0.5596 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.3543, allocations: 266.6 kB / 0.5598 GB, free: 320 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.3544, allocations: 43.97 kB / 0.5599 GB, free: 280 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3545, allocations: 79.98 kB / 0.5599 GB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3546, allocations: 347.4 kB / 0.5603 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.3548, allocations: 66.55 kB / 0.5603 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.3551, allocations: 293.6 kB / 0.5606 GB, free: 15.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.3555, allocations: 385.5 kB / 0.561 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3555, allocations: 0 / 0.561 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006242/0.3562, allocations: 396.7 kB / 0.5614 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3562, allocations: 8.844 kB / 0.5614 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3562, allocations: 8 kB / 0.5614 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.3562, allocations: 12 kB / 0.5614 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.3565, allocations: 87.97 kB / 0.5615 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/0.3565, allocations: 17.14 kB / 0.5615 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.3568, allocations: 49.03 kB / 0.5615 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.3568, allocations: 25.36 kB / 0.5616 GB, free: 14.41 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.000167/0.357, allocations: 168.4 kB / 0.5617 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.357, allocations: 43.72 kB / 0.5618 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.3575, allocations: 233 kB / 0.562 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3575, allocations: 0 / 0.562 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3575, allocations: 8.453 kB / 0.562 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3575, allocations: 0 / 0.562 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.3582, allocations: 0.5121 MB / 0.5625 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3582, allocations: 0 / 0.5625 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.291e-05/0.3582, allocations: 0.7969 kB / 0.5625 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3582, allocations: 3.938 kB / 0.5625 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3582, allocations: 4.062 kB / 0.5625 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3582, allocations: 4.562 kB / 0.5625 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3582, allocations: 0 / 0.5625 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3584, allocations: 110.2 kB / 0.5626 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.3584, allocations: 46.38 kB / 0.5627 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.238e-05/0.3585, allocations: 0.75 kB / 0.5627 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.3586, allocations: 0.6562 kB / 0.5627 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.3586, allocations: 32 / 0.5627 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3586, allocations: 5.031 kB / 0.5627 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004455/0.359, allocations: 363.8 kB / 0.563 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.359, allocations: 0 / 0.563 GB, free: 12.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006474/0.3597, allocations: 171.9 kB / 0.5632 GB, free: 12.8 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.0005834/0.3603, allocations: 312.7 kB / 0.5635 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.3606, allocations: 153.5 kB / 0.5636 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3606, allocations: 4 kB / 0.5636 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.822e-05/0.3606, allocations: 10.02 kB / 0.5636 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005168/0.3611, allocations: 106.6 kB / 0.5637 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3621, allocations: 0.5797 MB / 0.5643 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.3626, allocations: 0.7895 MB / 0.5651 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3627, allocations: 67.97 kB / 0.5651 GB, free: 10.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3627, allocations: 0 / 0.5651 GB, free: 10.88 MB / 414.1 MB Notification: Performance of Templates: time 0.01025/0.373, allocations: 6.278 MB / 0.5713 GB, free: 4.863 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.078618112020195] Failed to read output from testmodel.py, exit status != 0: 0.38157555484212935 0.39636034000000003 0.049079295 Calling exit ...