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.001153/0.001153, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002388, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008785/0.0008785, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001504/0.002382, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.007/1.007, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09656/1.104, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] 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.1042/0.1042, allocations: 17.36 MB / 261.5 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01948/0.1237, allocations: 6.933 MB / 268.4 MB, free: 6.395 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 269.7 MB, free: 5.102 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.822e-05, allocations: 2.312 kB / 269.7 MB, free: 5.098 MB / 266.7 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.01658/0.0166, allocations: 3.338 MB / 273.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1442/0.1608, allocations: 6.318 MB / 279.4 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.161, allocations: 9.125 kB / 279.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.1614, allocations: 154.2 kB / 279.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.162, allocations: 270.3 kB / 279.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.1643, allocations: 1.007 MB / 280.8 MB, free: 20 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007445/0.1651, allocations: 0.5206 MB / 281.4 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.1654, allocations: 185.2 kB / 281.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005146/0.1659, allocations: 367.7 kB / 281.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005224/0.1665, allocations: 220.6 kB / 282.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.1666, allocations: 28.72 kB / 282.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.1679, allocations: 0.5429 MB / 282.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.168, allocations: 67.69 kB / 282.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1682, allocations: 109.2 kB / 282.9 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.1697, allocations: 0.9427 MB / 283.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.561e-05/0.1697, allocations: 1.781 kB / 283.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1697, allocations: 0 / 283.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.1698, allocations: 0 / 283.8 MB, free: 15.37 MB / 282.7 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.00153/0.1713, allocations: 0.8577 MB / 284.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1713, allocations: 9.625 kB / 284.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005132/0.1718, allocations: 253 kB / 284.9 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.1723, allocations: 305.2 kB / 285.2 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1723, allocations: 24.53 kB / 285.2 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.1723, allocations: 30.58 kB / 285.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.1727, allocations: 350.3 kB / 285.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1728, allocations: 5.125 kB / 285.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1728, allocations: 16.08 kB / 285.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.1728, allocations: 6.75 kB / 285.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.1732, allocations: 344.1 kB / 286 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.1746, allocations: 1.433 MB / 287.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1748, allocations: 144.7 kB / 287.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.1748, allocations: 38.02 kB / 287.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/0.176, allocations: 0.8683 MB / 288.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.176, allocations: 32.12 kB / 288.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.176, allocations: 1.078 kB / 288.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001964/0.1762, allocations: 137.2 kB / 288.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1763, allocations: 57.22 kB / 288.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.1766, allocations: 360.7 kB / 289 MB, free: 12.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1766, allocations: 25.7 kB / 289 MB, free: 12.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1767, allocations: 239.5 kB / 289.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1767, allocations: 39.06 kB / 289.3 MB, free: 12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.1768, allocations: 74.5 kB / 289.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1769, allocations: 358.8 kB / 289.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.057e-05/0.177, allocations: 28.88 kB / 289.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1771, allocations: 254.1 kB / 290 MB, free: 11.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1774, allocations: 350.2 kB / 290.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1774, allocations: 2.688 kB / 290.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003136/0.1777, allocations: 272.2 kB / 290.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1778, allocations: 8.531 kB / 290.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1778, allocations: 7.094 kB / 290.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1778, allocations: 13.53 kB / 290.7 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.1781, allocations: 111.3 kB / 290.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.1781, allocations: 15.83 kB / 290.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1782, allocations: 37.83 kB / 290.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.1783, allocations: 25.55 kB / 290.8 MB, free: 10.81 MB / 282.7 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.0001068/0.1784, allocations: 145 kB / 291 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.1784, allocations: 20.61 kB / 291 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.1788, allocations: 220.3 kB / 291.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1788, allocations: 0 / 291.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.1788, allocations: 1.312 kB / 291.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1788, allocations: 0 / 291.2 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003139/0.1791, allocations: 410.2 kB / 291.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1791, allocations: 0 / 291.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.1791, allocations: 3.938 kB / 291.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.1791, allocations: 26.72 kB / 291.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.1791, allocations: 0 / 291.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.1791, allocations: 0 / 291.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1791, allocations: 0 / 291.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1791, allocations: 0 / 291.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.081e-05/0.1792, allocations: 84.02 kB / 291.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.1792, allocations: 5.719 kB / 291.7 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.1793, allocations: 4.062 kB / 291.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.1793, allocations: 3.031 kB / 291.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.1793, allocations: 0 / 291.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.1794, allocations: 162.3 kB / 291.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1794, allocations: 0 / 291.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005317/0.1799, allocations: 192.8 kB / 292.1 MB, free: 9.953 MB / 282.7 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.0004442/0.1804, allocations: 309.1 kB / 292.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1805, allocations: 127.5 kB / 292.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.1806, allocations: 5.094 kB / 292.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.1806, allocations: 6.734 kB / 292.5 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.1811, allocations: 0.7641 MB / 293.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.1844, allocations: 0.5492 MB / 293.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.1845, allocations: 96.95 kB / 293.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.1847, allocations: 86.62 kB / 294 MB, free: 8.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.1848, allocations: 121.3 kB / 294.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1848, allocations: 0 / 294.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of Templates: time 0.009105/0.194, allocations: 7.112 MB / 301.3 MB, free: 2.578 MB / 282.7 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.721130116842687]