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.001826/0.001826, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002316/0.002316, allocations: 217.9 kB / 22.25 MB, free: 5.254 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.797 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.1513/0.1513, allocations: 23.93 MB / 336.4 MB, free: 10.9 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.002651/0.002651, allocations: 71.89 kB / 471.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.425, allocations: 59.87 MB / 0.5191 GB, free: 9.805 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.07373/0.4987, allocations: 23.81 MB / 0.5423 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009046/0.5078, allocations: 5.558 MB / 0.5478 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005766/0.5083, allocations: 15.88 kB / 0.5478 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.509, allocations: 136.4 kB / 0.5479 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008222/0.5098, allocations: 252.6 kB / 0.5482 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.5132, allocations: 0.9892 MB / 0.5491 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.5142, allocations: 0.5075 MB / 0.5496 GB, free: 8.805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004846/0.5147, allocations: 162.4 kB / 0.5498 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.5152, allocations: 260.2 kB / 0.55 GB, free: 8.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.5158, allocations: 265.7 kB / 0.5503 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.516, allocations: 28 kB / 0.5503 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.5178, allocations: 0.5401 MB / 0.5508 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.518, allocations: 100.2 kB / 0.5509 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.5183, allocations: 168.6 kB / 0.5511 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.5211, allocations: 1.087 MB / 0.5522 GB, free: 6.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.5211, allocations: 0 / 0.5522 GB, free: 6.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5211, allocations: 0 / 0.5522 GB, free: 6.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.5211, allocations: 0 / 0.5522 GB, free: 6.574 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.001921/0.523, allocations: 0.7274 MB / 0.5529 GB, free: 5.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5231, allocations: 16.03 kB / 0.5529 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007173/0.5238, allocations: 114.6 kB / 0.553 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.5246, allocations: 327.3 kB / 0.5533 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.5246, allocations: 25.55 kB / 0.5533 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.5247, allocations: 28.12 kB / 0.5533 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.5256, allocations: 447.8 kB / 0.5538 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.5256, allocations: 4 kB / 0.5538 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.5256, allocations: 8 kB / 0.5538 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.5256, allocations: 11.94 kB / 0.5538 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.5267, allocations: 0.5733 MB / 0.5544 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/0.5296, allocations: 1.612 MB / 0.5559 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.5299, allocations: 132.5 kB / 0.5561 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.5301, allocations: 85.22 kB / 0.5561 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002245/0.5324, allocations: 0.9138 MB / 0.557 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.5324, allocations: 31.27 kB / 0.5571 GB, free: 1.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.5324, allocations: 0 / 0.5571 GB, free: 1.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004843/0.5329, allocations: 182.2 kB / 0.5572 GB, free: 1.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.5329, allocations: 55.41 kB / 0.5573 GB, free: 1.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.5335, allocations: 404.4 kB / 0.5577 GB, free: 1.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.5335, allocations: 30.36 kB / 0.5577 GB, free: 1.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.5338, allocations: 275.4 kB / 0.558 GB, free: 1.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.5338, allocations: 36.11 kB / 0.558 GB, free: 1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.534, allocations: 79.62 kB / 0.5581 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.5342, allocations: 350.4 kB / 0.5584 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.5343, allocations: 69.92 kB / 0.5585 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.5347, allocations: 286.1 kB / 0.5588 GB, free: 156 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005848/0.5353, allocations: 385.1 kB / 0.5591 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.5353, allocations: 8 kB / 0.5591 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007569/0.536, allocations: 381.6 kB / 0.5595 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5361, allocations: 8 kB / 0.5595 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.5361, allocations: 12.39 kB / 0.5595 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.5361, allocations: 8 kB / 0.5595 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.5364, allocations: 92.28 kB / 0.5596 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.734e-05/0.5364, allocations: 17.39 kB / 0.5596 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.5367, allocations: 44.33 kB / 0.5597 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.5368, allocations: 29.31 kB / 0.5597 GB, free: 15.14 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.0002183/0.537, allocations: 160.5 kB / 0.5598 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.5371, allocations: 36.56 kB / 0.5599 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005342/0.5376, allocations: 239 kB / 0.5601 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5376, allocations: 0 / 0.5601 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5376, allocations: 0.7031 kB / 0.5601 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.5376, allocations: 4.312 kB / 0.5601 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006916/0.5383, allocations: 465.4 kB / 0.5606 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5383, allocations: 4.75 kB / 0.5606 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.5384, allocations: 0.6094 kB / 0.5606 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5384, allocations: 3.938 kB / 0.5606 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.5384, allocations: 0 / 0.5606 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.5384, allocations: 8.734 kB / 0.5606 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5384, allocations: 8.062 kB / 0.5606 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.5386, allocations: 101.9 kB / 0.5607 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.134e-05/0.5387, allocations: 29.78 kB / 0.5607 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.5387, allocations: 4.75 kB / 0.5607 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.5388, allocations: 3.938 kB / 0.5607 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.5388, allocations: 0.7031 kB / 0.5607 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.5388, allocations: 0 / 0.5607 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004373/0.5393, allocations: 309.4 kB / 0.561 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5393, allocations: 0 / 0.561 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007719/0.5401, allocations: 191.3 kB / 0.5612 GB, free: 13.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.0008117/0.5409, allocations: 304.9 kB / 0.5615 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.5412, allocations: 154.9 kB / 0.5616 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.5412, allocations: 0 / 0.5616 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.5413, allocations: 6.484 kB / 0.5616 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.5418, allocations: 80.25 kB / 0.5617 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.543, allocations: 0.5428 MB / 0.5622 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.5432, allocations: 192.3 kB / 0.5624 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.5436, allocations: 95.67 kB / 0.5625 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.5437, allocations: 43.7 kB / 0.5626 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5437, allocations: 0 / 0.5626 GB, free: 12.34 MB / 414.1 MB Notification: Performance of Templates: time 0.014/0.5577, allocations: 6.671 MB / 0.5691 GB, free: 6.043 MB / 414.1 MB " [Timeout remaining time 659] 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: 5.50867421599105] Failed to read output from testmodel.py, exit status != 0: 0.5687598315998912 0.584875507 0.060306504000000004 Calling exit ...