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.001838/0.001838, 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.002953/0.002953, allocations: 219.5 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.1358/0.1358, allocations: 23.89 MB / 337.1 MB, free: 11.19 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.002106/0.002106, allocations: 67.91 kB / 472.5 MB, free: 7.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 59.87 MB / 0.5199 GB, free: 9.867 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.03259/0.355, allocations: 23.99 MB / 0.5433 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008362/0.3633, allocations: 6.357 MB / 0.5495 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.3636, allocations: 15.88 kB / 0.5495 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.3641, allocations: 152 kB / 0.5497 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000616/0.3647, allocations: 255.6 kB / 0.5499 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.3669, allocations: 0.9901 MB / 0.5509 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007386/0.3676, allocations: 0.5155 MB / 0.5514 GB, free: 8.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.3679, allocations: 166.3 kB / 0.5516 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.3682, allocations: 246.8 kB / 0.5518 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.3687, allocations: 269.2 kB / 0.5521 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.87e-05/0.3688, allocations: 28 kB / 0.5521 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.3702, allocations: 0.5637 MB / 0.5526 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.3703, allocations: 96.91 kB / 0.5527 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.3705, allocations: 203.7 kB / 0.5529 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.3722, allocations: 1.096 MB / 0.554 GB, free: 5.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3722, allocations: 0.9844 kB / 0.554 GB, free: 5.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3722, allocations: 0 / 0.554 GB, free: 5.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3722, allocations: 0 / 0.554 GB, free: 5.82 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.001116/0.3733, allocations: 0.727 MB / 0.5547 GB, free: 5.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3733, allocations: 8.031 kB / 0.5547 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005534/0.3739, allocations: 115.4 kB / 0.5548 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.3745, allocations: 338.6 kB / 0.5551 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.3745, allocations: 21.03 kB / 0.5552 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-05/0.3746, allocations: 28.12 kB / 0.5552 GB, free: 4.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/0.3755, allocations: 448 kB / 0.5556 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3755, allocations: 0 / 0.5556 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.3756, allocations: 12 kB / 0.5556 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3756, allocations: 12.84 kB / 0.5556 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000925/0.3765, allocations: 0.5766 MB / 0.5562 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.379, allocations: 1.731 MB / 0.5579 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.3793, allocations: 128 kB / 0.558 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3795, allocations: 77.16 kB / 0.5581 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/0.3814, allocations: 0.957 MB / 0.559 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.3815, allocations: 34.56 kB / 0.5591 GB, free: 1.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.3815, allocations: 0 / 0.5591 GB, free: 1.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004159/0.3819, allocations: 186.9 kB / 0.5592 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3819, allocations: 59.53 kB / 0.5593 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.3825, allocations: 432 kB / 0.5597 GB, free: 448 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3825, allocations: 25.8 kB / 0.5597 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.3827, allocations: 271 kB / 0.56 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.3828, allocations: 47.02 kB / 0.56 GB, free: 116 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3829, allocations: 80.17 kB / 0.5601 GB, free: 36 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3831, allocations: 347.5 kB / 0.5604 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.3832, allocations: 70.44 kB / 0.5605 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.3835, allocations: 290.3 kB / 0.5608 GB, free: 15.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.384, allocations: 384.3 kB / 0.5611 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.384, allocations: 0 / 0.5611 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006463/0.3846, allocations: 397.8 kB / 0.5615 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3847, allocations: 8.516 kB / 0.5615 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3847, allocations: 8 kB / 0.5615 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3847, allocations: 8.797 kB / 0.5615 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.385, allocations: 86.84 kB / 0.5616 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.385, allocations: 21.7 kB / 0.5617 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.3853, allocations: 48.23 kB / 0.5617 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.3853, allocations: 21.45 kB / 0.5617 GB, free: 14.25 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.0001741/0.3855, allocations: 172.8 kB / 0.5619 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.3856, allocations: 39.72 kB / 0.5619 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004568/0.386, allocations: 232.6 kB / 0.5621 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.386, allocations: 0 / 0.5621 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.386, allocations: 7.969 kB / 0.5622 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.386, allocations: 0.5625 kB / 0.5622 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006041/0.3866, allocations: 0.5153 MB / 0.5627 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3866, allocations: 4 kB / 0.5627 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.3866, allocations: 1.266 kB / 0.5627 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3867, allocations: 3.938 kB / 0.5627 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.3867, allocations: 4 kB / 0.5627 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3867, allocations: 0.6562 kB / 0.5627 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3867, allocations: 4.031 kB / 0.5627 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.3868, allocations: 109.6 kB / 0.5628 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.3869, allocations: 46.66 kB / 0.5628 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.3869, allocations: 0.6094 kB / 0.5628 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.387, allocations: 0.75 kB / 0.5628 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.387, allocations: 0.6094 kB / 0.5628 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3871, allocations: 4 kB / 0.5628 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004276/0.3875, allocations: 364.4 kB / 0.5632 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3875, allocations: 0 / 0.5632 GB, free: 12.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005863/0.3881, allocations: 171.9 kB / 0.5633 GB, free: 12.64 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.0005008/0.3886, allocations: 307.9 kB / 0.5636 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.3889, allocations: 159 kB / 0.5638 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3889, allocations: 0 / 0.5638 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.3889, allocations: 13.44 kB / 0.5638 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.3894, allocations: 96.25 kB / 0.5639 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009683/0.3904, allocations: 0.5835 MB / 0.5645 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.3908, allocations: 0.7821 MB / 0.5652 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.391, allocations: 67.72 kB / 0.5653 GB, free: 10.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.391, allocations: 7.938 kB / 0.5653 GB, free: 10.71 MB / 414.1 MB Notification: Performance of Templates: time 0.009766/0.4007, allocations: 6.277 MB / 0.5714 GB, free: 4.691 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.8997296239831485] Failed to read output from testmodel.py, exit status != 0: 0.40961957100080326 0.42405906200000004 0.048802126 Calling exit ...