Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001364/0.001364, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001524/0.001524, allocations: 207.9 kB / 23 MB, free: 4.965 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1439/0.1439, allocations: 23.97 MB / 337.2 MB, free: 10.86 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_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_master_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.002365/0.002365, allocations: 67.89 kB / 472.5 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3491, allocations: 59.89 MB / 0.5199 GB, free: 9.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.07006/0.4192, allocations: 23.9 MB / 0.5433 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008317/0.4275, allocations: 5.559 MB / 0.5487 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004932/0.428, allocations: 11.88 kB / 0.5487 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005706/0.4286, allocations: 144.3 kB / 0.5489 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008332/0.4294, allocations: 251.5 kB / 0.5491 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.4324, allocations: 0.9858 MB / 0.5501 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008701/0.4332, allocations: 0.5122 MB / 0.5506 GB, free: 8.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.4335, allocations: 166.4 kB / 0.5507 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.4338, allocations: 246.7 kB / 0.551 GB, free: 8.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004374/0.4343, allocations: 253.2 kB / 0.5512 GB, free: 8.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.585e-05/0.4343, allocations: 28 kB / 0.5512 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.4359, allocations: 0.5253 MB / 0.5517 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.4361, allocations: 104.9 kB / 0.5518 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.4363, allocations: 168.3 kB / 0.552 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.4385, allocations: 1.083 MB / 0.5531 GB, free: 6.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4385, allocations: 0 / 0.5531 GB, free: 6.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4385, allocations: 0 / 0.5531 GB, free: 6.473 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.4385, allocations: 0 / 0.5531 GB, free: 6.473 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.001242/0.4397, allocations: 0.7353 MB / 0.5538 GB, free: 5.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4398, allocations: 8.031 kB / 0.5538 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005703/0.4403, allocations: 116.7 kB / 0.5539 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.4409, allocations: 328 kB / 0.5542 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.441, allocations: 21.03 kB / 0.5542 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.441, allocations: 36.06 kB / 0.5543 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007515/0.4418, allocations: 444 kB / 0.5547 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4418, allocations: 0 / 0.5547 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.4418, allocations: 12.8 kB / 0.5547 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4419, allocations: 8 kB / 0.5547 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/0.4428, allocations: 0.5688 MB / 0.5553 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.4452, allocations: 1.632 MB / 0.5569 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.4455, allocations: 131.7 kB / 0.557 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.4457, allocations: 77.16 kB / 0.5571 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001952/0.4476, allocations: 0.9063 MB / 0.5579 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4477, allocations: 34.56 kB / 0.558 GB, free: 1.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.4477, allocations: 0 / 0.558 GB, free: 1.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004171/0.4481, allocations: 182.4 kB / 0.5582 GB, free: 1.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.4481, allocations: 52.25 kB / 0.5582 GB, free: 1.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.4486, allocations: 408 kB / 0.5586 GB, free: 1.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.4486, allocations: 25.7 kB / 0.5586 GB, free: 1.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.4488, allocations: 272.4 kB / 0.5589 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.4489, allocations: 39.06 kB / 0.5589 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.449, allocations: 80.05 kB / 0.559 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4492, allocations: 346 kB / 0.5593 GB, free: 500 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.4493, allocations: 74.44 kB / 0.5594 GB, free: 436 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.4496, allocations: 286.5 kB / 0.5597 GB, free: 56 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.4501, allocations: 392.5 kB / 0.56 GB, free: 15.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4501, allocations: 4 kB / 0.56 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006383/0.4507, allocations: 385.8 kB / 0.5604 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.4507, allocations: 8 kB / 0.5604 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.4508, allocations: 11.98 kB / 0.5604 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.4508, allocations: 12.8 kB / 0.5604 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.4511, allocations: 87.28 kB / 0.5605 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.4511, allocations: 13.95 kB / 0.5605 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.4513, allocations: 52.38 kB / 0.5606 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.4514, allocations: 25.45 kB / 0.5606 GB, free: 15.04 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.0001829/0.4516, allocations: 164.6 kB / 0.5608 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.4516, allocations: 36.42 kB / 0.5608 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/0.4521, allocations: 235.3 kB / 0.561 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4521, allocations: 4.031 kB / 0.561 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4521, allocations: 3.938 kB / 0.561 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4521, allocations: 3.938 kB / 0.561 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.4527, allocations: 458.1 kB / 0.5615 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4527, allocations: 0 / 0.5615 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.4527, allocations: 4.797 kB / 0.5615 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4527, allocations: 0 / 0.5615 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4527, allocations: 0.5625 kB / 0.5615 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4527, allocations: 3.938 kB / 0.5615 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4527, allocations: 0 / 0.5615 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.4529, allocations: 114.1 kB / 0.5616 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.453, allocations: 30.11 kB / 0.5616 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.453, allocations: 11.89 kB / 0.5616 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.4531, allocations: 4.547 kB / 0.5616 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.4531, allocations: 0.7031 kB / 0.5616 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.4531, allocations: 0 / 0.5616 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000369/0.4535, allocations: 309 kB / 0.5619 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4535, allocations: 0 / 0.5619 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000642/0.4541, allocations: 188.2 kB / 0.5621 GB, free: 13.54 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.0005654/0.4547, allocations: 300.6 kB / 0.5624 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.455, allocations: 155 kB / 0.5625 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.455, allocations: 0 / 0.5625 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.455, allocations: 17.34 kB / 0.5626 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.4555, allocations: 81.81 kB / 0.5626 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009735/0.4565, allocations: 0.5682 MB / 0.5632 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.4567, allocations: 183.2 kB / 0.5634 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.4568, allocations: 64.2 kB / 0.5634 GB, free: 12.26 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4568, allocations: 0 / 0.5634 GB, free: 12.26 MB / 414.1 MB Notification: Performance of Templates: time 0.009588/0.4664, allocations: 6.085 MB / 0.5694 GB, free: 6.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.919338189065456] Failed to read output from testmodel.py, exit status != 0: 0.4755406780168414 0.489643438 0.04801546999999994 Calling exit ...