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.00131/0.00131, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001475/0.001475, allocations: 211.8 kB / 22.99 MB, free: 4.957 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.46/1.46, 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.1418/0.1418, allocations: 23.92 MB / 337.1 MB, free: 10.93 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.002121/0.002121, allocations: 71.88 kB / 472.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3697, allocations: 59.87 MB / 0.5198 GB, free: 9.801 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.07031/0.44, allocations: 23.71 MB / 0.543 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008259/0.4483, allocations: 5.571 MB / 0.5484 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.4488, allocations: 7.938 kB / 0.5484 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.4493, allocations: 144.6 kB / 0.5486 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007936/0.4501, allocations: 259.5 kB / 0.5488 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.4531, allocations: 0.9818 MB / 0.5498 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008667/0.4539, allocations: 0.5072 MB / 0.5503 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003463/0.4543, allocations: 170.9 kB / 0.5504 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003128/0.4546, allocations: 251.2 kB / 0.5507 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004213/0.455, allocations: 269.9 kB / 0.5509 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.4551, allocations: 28 kB / 0.551 GB, free: 8.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.4566, allocations: 0.5331 MB / 0.5515 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.4567, allocations: 105.1 kB / 0.5516 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.4569, allocations: 167.5 kB / 0.5517 GB, free: 7.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.4586, allocations: 1.083 MB / 0.5528 GB, free: 6.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4586, allocations: 8 kB / 0.5528 GB, free: 6.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4586, allocations: 0 / 0.5528 GB, free: 6.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.4586, allocations: 0 / 0.5528 GB, free: 6.684 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.001216/0.4598, allocations: 0.727 MB / 0.5535 GB, free: 5.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4599, allocations: 8.031 kB / 0.5535 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005696/0.4604, allocations: 114.6 kB / 0.5536 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.461, allocations: 339.8 kB / 0.554 GB, free: 5.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.4611, allocations: 17.03 kB / 0.554 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.4611, allocations: 32.12 kB / 0.554 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007692/0.4619, allocations: 443.9 kB / 0.5544 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4619, allocations: 3.938 kB / 0.5544 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.462, allocations: 16.61 kB / 0.5545 GB, free: 5.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.462, allocations: 8 kB / 0.5545 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.4629, allocations: 0.5693 MB / 0.555 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.4653, allocations: 1.616 MB / 0.5566 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.4656, allocations: 128.6 kB / 0.5567 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4658, allocations: 80.81 kB / 0.5568 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.4678, allocations: 0.9138 MB / 0.5577 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4679, allocations: 35.45 kB / 0.5577 GB, free: 2.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.4679, allocations: 0 / 0.5577 GB, free: 2.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004255/0.4683, allocations: 182.1 kB / 0.5579 GB, free: 1.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.4683, allocations: 55.41 kB / 0.5579 GB, free: 1.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.4688, allocations: 408.3 kB / 0.5583 GB, free: 1.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4688, allocations: 26.08 kB / 0.5584 GB, free: 1.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.4691, allocations: 272 kB / 0.5586 GB, free: 1.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.4691, allocations: 35.53 kB / 0.5587 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.4692, allocations: 84.61 kB / 0.5587 GB, free: 1.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4694, allocations: 345.3 kB / 0.5591 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4696, allocations: 74.86 kB / 0.5591 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.4699, allocations: 285.7 kB / 0.5594 GB, free: 272 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.4703, allocations: 388.9 kB / 0.5598 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4703, allocations: 0 / 0.5598 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006627/0.471, allocations: 382.4 kB / 0.5601 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.471, allocations: 8 kB / 0.5601 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.471, allocations: 12.62 kB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.4711, allocations: 12 kB / 0.5602 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.4714, allocations: 86.89 kB / 0.5603 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.4714, allocations: 18 kB / 0.5603 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.4717, allocations: 44.52 kB / 0.5603 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.4717, allocations: 25.17 kB / 0.5603 GB, free: 15.26 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.0001912/0.4719, allocations: 172.7 kB / 0.5605 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.472, allocations: 31.77 kB / 0.5605 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.4725, allocations: 231.8 kB / 0.5608 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4725, allocations: 8 kB / 0.5608 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4725, allocations: 0 / 0.5608 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.4725, allocations: 3.938 kB / 0.5608 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.4732, allocations: 466 kB / 0.5612 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.4732, allocations: 0 / 0.5612 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.4732, allocations: 1.359 kB / 0.5612 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.4732, allocations: 4 kB / 0.5612 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.4732, allocations: 0 / 0.5612 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4732, allocations: 3.938 kB / 0.5612 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4732, allocations: 0.6562 kB / 0.5612 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.4734, allocations: 106.1 kB / 0.5613 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.4734, allocations: 25.27 kB / 0.5613 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.4735, allocations: 4.609 kB / 0.5614 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.833e-05/0.4736, allocations: 8.594 kB / 0.5614 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.4736, allocations: 4.703 kB / 0.5614 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.4736, allocations: 7.984 kB / 0.5614 GB, free: 14.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003722/0.474, allocations: 309.2 kB / 0.5617 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.474, allocations: 0 / 0.5617 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006716/0.4746, allocations: 187.4 kB / 0.5618 GB, free: 13.75 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.0005843/0.4752, allocations: 296.9 kB / 0.5621 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.4756, allocations: 161.8 kB / 0.5623 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4756, allocations: 0 / 0.5623 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.4756, allocations: 10.06 kB / 0.5623 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.4761, allocations: 85.33 kB / 0.5624 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009976/0.4771, allocations: 0.5471 MB / 0.5629 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.4773, allocations: 180.1 kB / 0.5631 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.4776, allocations: 99.48 kB / 0.5632 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.4777, allocations: 39.8 kB / 0.5632 GB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4777, allocations: 0 / 0.5632 GB, free: 12.45 MB / 414.1 MB Notification: Performance of Templates: time 0.01354/0.4912, allocations: 6.683 MB / 0.5697 GB, free: 6.156 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.001022079988616] Failed to read output from testmodel.py, exit status != 0: 0.5007307429914363 0.516059575 0.054207813 Calling exit ...