Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2495/0.2495, allocations: 15.26 MB / 306.2 MB, free: 15.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 11.94 kB / 371.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3411, allocations: 54.61 MB / 426 MB, free: 39.86 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011: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 1.4.0-master/package.mo:3011:6-3011: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.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.003268/0.3444, allocations: 2.933 MB / 428.9 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005307/0.3497, allocations: 5.391 MB / 434.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003905/0.3501, allocations: 17.03 kB / 434.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.3506, allocations: 131.8 kB / 434.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006883/0.3513, allocations: 322 kB / 434.8 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.3535, allocations: 0.8801 MB / 435.6 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.354, allocations: 358.9 kB / 436 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.3543, allocations: 164.8 kB / 436.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.3545, allocations: 179.3 kB / 436.3 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.3548, allocations: 226.2 kB / 436.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.3549, allocations: 15.59 kB / 436.6 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.3564, allocations: 0.6378 MB / 437.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.295e-05/0.3565, allocations: 77.28 kB / 437.3 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.3566, allocations: 100.7 kB / 437.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008234/0.3574, allocations: 0.619 MB / 438 MB, free: 35.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3574, allocations: 0 / 438 MB, free: 35.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3574, allocations: 0 / 438 MB, free: 35.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.964e-06/0.3574, allocations: 0 / 438 MB, free: 35.4 MB / 350.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.0009367/0.3584, allocations: 0.6944 MB / 438.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3584, allocations: 13.66 kB / 438.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000492/0.3589, allocations: 115.4 kB / 438.8 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.3593, allocations: 345.7 kB / 439.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3593, allocations: 18.66 kB / 439.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.3594, allocations: 24.56 kB / 439.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.3599, allocations: 439.6 kB / 439.6 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3599, allocations: 3.938 kB / 439.6 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/0.36, allocations: 10.88 kB / 439.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.36, allocations: 8.781 kB / 439.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.3607, allocations: 0.5746 MB / 440.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.3624, allocations: 1.74 MB / 442 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.3626, allocations: 133.8 kB / 442.1 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00158/0.3642, allocations: 1.804 MB / 443.9 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3642, allocations: 34.5 kB / 443.9 MB, free: 31.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3642, allocations: 0 / 443.9 MB, free: 31.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003427/0.3646, allocations: 187.8 kB / 444.1 MB, free: 31.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3646, allocations: 51.41 kB / 444.2 MB, free: 30.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003887/0.365, allocations: 438.2 kB / 444.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3651, allocations: 25.7 kB / 444.6 MB, free: 30.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3652, allocations: 262.2 kB / 444.9 MB, free: 30.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3652, allocations: 37.66 kB / 444.9 MB, free: 30.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.3652, allocations: 4.375 kB / 444.9 MB, free: 30.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.3653, allocations: 352.6 kB / 445.3 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.3654, allocations: 74.58 kB / 445.3 MB, free: 30.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3656, allocations: 282.4 kB / 445.6 MB, free: 29.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3657, allocations: 119.2 kB / 445.7 MB, free: 29.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3658, allocations: 2.781 kB / 445.7 MB, free: 29.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004563/0.3662, allocations: 387.5 kB / 446.1 MB, free: 29.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3662, allocations: 9.906 kB / 446.1 MB, free: 29.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3663, allocations: 5.656 kB / 446.1 MB, free: 29.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3663, allocations: 12.97 kB / 446.1 MB, free: 29.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.3665, allocations: 89.73 kB / 446.2 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.3666, allocations: 16.72 kB / 446.2 MB, free: 29.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.3668, allocations: 43.34 kB / 446.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-05/0.3668, allocations: 25.97 kB / 446.3 MB, free: 29.53 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.367, allocations: 171.2 kB / 446.5 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.367, allocations: 39.2 kB / 446.5 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004192/0.3675, allocations: 236.1 kB / 446.7 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3675, allocations: 4.031 kB / 446.7 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.3675, allocations: 3.406 kB / 446.7 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3675, allocations: 0 / 446.7 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.3679, allocations: 0.5268 MB / 447.3 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3679, allocations: 0 / 447.3 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.368, allocations: 2.844 kB / 447.3 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.368, allocations: 7.375 kB / 447.3 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.368, allocations: 0 / 447.3 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.368, allocations: 3.125 kB / 447.3 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.368, allocations: 4.031 kB / 447.3 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.3681, allocations: 112.7 kB / 447.4 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.3682, allocations: 121 kB / 447.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.3683, allocations: 3.328 kB / 447.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.3683, allocations: 0 / 447.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.3684, allocations: 3.25 kB / 447.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.3684, allocations: 0 / 447.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.3687, allocations: 341.1 kB / 447.9 MB, free: 28.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3687, allocations: 0 / 447.9 MB, free: 28.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005611/0.3693, allocations: 169.9 kB / 448 MB, free: 28.32 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004309/0.3697, allocations: 296.4 kB / 448.3 MB, free: 28.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.37, allocations: 163 kB / 448.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.37, allocations: 7.281 kB / 448.5 MB, free: 28.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.37, allocations: 2.844 kB / 448.5 MB, free: 28.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.3704, allocations: 86.92 kB / 448.6 MB, free: 28.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/0.3712, allocations: 0.6372 MB / 449.2 MB, free: 27.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.3715, allocations: 0.7958 MB / 450 MB, free: 26.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.3718, allocations: 107.5 kB / 450.1 MB, free: 26.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.3719, allocations: 41.02 kB / 450.1 MB, free: 26.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3719, allocations: 0 / 450.1 MB, free: 26.93 MB / 350.1 MB Notification: Performance of Templates: time 0.009115/0.381, allocations: 5.892 MB / 456 MB, free: 26.39 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile Environment - environmentSimulation: (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) Environment - environmentSimulation: