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.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-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.001216/0.001216, allocations: 107 kB / 16.36 MB, free: 6.336 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.001249/0.001249, allocations: 195.3 kB / 17.29 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08884/0.08884, allocations: 15.31 MB / 306.5 MB, free: 15.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 63.62 kB / 371.7 MB, free: 50.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1073, allocations: 53.61 MB / 425.4 MB, free: 13.36 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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.1-master/package.mo:3019:6-3019: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.02869/0.136, allocations: 22.47 MB / 447.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007284/0.1433, allocations: 6.288 MB / 454.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.1437, allocations: 7.938 kB / 454.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.1442, allocations: 154.8 kB / 454.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005875/0.1448, allocations: 250.1 kB / 454.5 MB, free: 304 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.147, allocations: 0.9626 MB / 455.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006274/0.1477, allocations: 0.5059 MB / 456 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003125/0.148, allocations: 204.8 kB / 456.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.1483, allocations: 239.3 kB / 456.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.1486, allocations: 270.9 kB / 456.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.1487, allocations: 32 kB / 456.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.1499, allocations: 0.55 MB / 457.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.15, allocations: 99.61 kB / 457.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.1502, allocations: 203 kB / 457.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.1516, allocations: 1.059 MB / 458.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1516, allocations: 0 / 458.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1516, allocations: 0 / 458.6 MB, free: 12.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1516, allocations: 0 / 458.6 MB, free: 12.17 MB / 334.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.001063/0.1527, allocations: 0.8024 MB / 459.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1527, allocations: 8.031 kB / 459.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005125/0.1532, allocations: 104.4 kB / 459.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.1538, allocations: 395.7 kB / 459.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1538, allocations: 20.94 kB / 459.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.1539, allocations: 28.12 kB / 460 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.1545, allocations: 442.1 kB / 460.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1545, allocations: 7.938 kB / 460.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.1546, allocations: 8 kB / 460.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1546, allocations: 8 kB / 460.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.1553, allocations: 0.5833 MB / 461 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.1575, allocations: 1.76 MB / 462.8 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.1578, allocations: 138.5 kB / 462.9 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.158, allocations: 84.83 kB / 463 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/0.16, allocations: 1.872 MB / 464.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.16, allocations: 34.5 kB / 464.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.1601, allocations: 0 / 464.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003712/0.1604, allocations: 185.1 kB / 465.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1605, allocations: 63.47 kB / 465.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.1609, allocations: 437.8 kB / 465.6 MB, free: 4.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1609, allocations: 25.7 kB / 465.6 MB, free: 4.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1611, allocations: 259.1 kB / 465.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1611, allocations: 35.55 kB / 465.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1612, allocations: 85.72 kB / 466 MB, free: 4.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1614, allocations: 346.8 kB / 466.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1615, allocations: 63.95 kB / 466.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.1618, allocations: 294.2 kB / 466.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.1621, allocations: 393.5 kB / 467 MB, free: 3.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1621, allocations: 4 kB / 467 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005406/0.1627, allocations: 388.6 kB / 467.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1627, allocations: 8 kB / 467.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1627, allocations: 8 kB / 467.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.1628, allocations: 12.81 kB / 467.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.163, allocations: 91.83 kB / 467.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.163, allocations: 19.88 kB / 467.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.1633, allocations: 47.44 kB / 467.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.1633, allocations: 27.98 kB / 467.6 MB, free: 2.406 MB / 334.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.0001447/0.1635, allocations: 169.6 kB / 467.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.1635, allocations: 35.53 kB / 467.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.164, allocations: 239.7 kB / 468.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.164, allocations: 0 / 468.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.164, allocations: 3.938 kB / 468.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.164, allocations: 0 / 468.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.1645, allocations: 0.5374 MB / 468.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1645, allocations: 0 / 468.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.1645, allocations: 12.05 kB / 468.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1645, allocations: 3.938 kB / 468.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1645, allocations: 0 / 468.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1645, allocations: 0 / 468.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1646, allocations: 0 / 468.6 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1647, allocations: 100.7 kB / 468.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1648, allocations: 120.6 kB / 468.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.1648, allocations: 0 / 468.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.1649, allocations: 8.031 kB / 468.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.165, allocations: 11.88 kB / 468.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.165, allocations: 0 / 468.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003585/0.1653, allocations: 362.8 kB / 469.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1653, allocations: 0 / 469.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005589/0.1659, allocations: 179.7 kB / 469.4 MB, free: 0.5078 MB / 334.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.0004388/0.1664, allocations: 287 kB / 469.7 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.1666, allocations: 168.7 kB / 469.8 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1667, allocations: 0 / 469.8 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.1667, allocations: 8 kB / 469.8 MB, free: 48 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.1672, allocations: 100.1 kB / 469.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/0.1679, allocations: 0.5229 MB / 470.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1682, allocations: 0.7873 MB / 471.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002434/0.1685, allocations: 103.3 kB / 471.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.1686, allocations: 39.42 kB / 471.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1686, allocations: 0 / 471.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Templates: time 0.01019/0.1788, allocations: 6.326 MB / 477.7 MB, free: 8.16 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile (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 -s cvode -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1)