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/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.09343/0.09343, allocations: 15.29 MB / 31.08 MB, free: 3.109 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 193.1 kB / 36.14 MB, free: 2.145 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 264 MB, free: 4.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 109 kB / 318.4 MB, free: 3.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009999/0.001, allocations: 50.14 kB / 382.7 MB, free: 48.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.0946, allocations: 53.62 MB / 436.3 MB, free: 1.039 MB / 298.7 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.02523/0.1199, allocations: 20.35 MB / 456.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006225/0.1261, allocations: 6.29 MB / 463 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.1265, allocations: 19.88 kB / 463 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.127, allocations: 155 kB / 463.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005117/0.1275, allocations: 222.4 kB / 463.4 MB, free: 6.094 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.1295, allocations: 0.8389 MB / 464.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005451/0.13, allocations: 0.5099 MB / 464.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.1303, allocations: 172.8 kB / 464.9 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.1305, allocations: 231.2 kB / 465.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.1308, allocations: 259.1 kB / 465.3 MB, free: 4.086 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.056e-05/0.1309, allocations: 16 kB / 465.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.1321, allocations: 0.5458 MB / 465.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1322, allocations: 87.61 kB / 466 MB, free: 3.438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1324, allocations: 199 kB / 466.2 MB, free: 3.242 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1336, allocations: 0.9886 MB / 467.2 MB, free: 2.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1337, allocations: 0 / 467.2 MB, free: 2.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1337, allocations: 0 / 467.2 MB, free: 2.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1337, allocations: 0 / 467.2 MB, free: 2.25 MB / 330.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.001006/0.1347, allocations: 0.7831 MB / 468 MB, free: 1.418 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1347, allocations: 8.875 kB / 468 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004663/0.1352, allocations: 112.3 kB / 468.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.1357, allocations: 379.8 kB / 468.5 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1357, allocations: 20.94 kB / 468.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.1358, allocations: 28.12 kB / 468.5 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.1364, allocations: 442.1 kB / 468.9 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1365, allocations: 3.938 kB / 468.9 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.1365, allocations: 12 kB / 468.9 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.1365, allocations: 8 kB / 469 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007918/0.1373, allocations: 0.5795 MB / 469.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.1395, allocations: 1.756 MB / 471.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.1397, allocations: 142.5 kB / 471.4 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1399, allocations: 76.83 kB / 471.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00214/0.142, allocations: 1.896 MB / 473.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1421, allocations: 30.56 kB / 473.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1421, allocations: 0 / 473.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003898/0.1425, allocations: 185.4 kB / 473.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.1425, allocations: 55.62 kB / 473.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.143, allocations: 437.7 kB / 474.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.143, allocations: 33.7 kB / 474.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.1432, allocations: 263 kB / 474.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1432, allocations: 35.55 kB / 474.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1433, allocations: 81.34 kB / 474.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1434, allocations: 350.8 kB / 474.8 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1435, allocations: 67.95 kB / 474.9 MB, free: 9.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.1438, allocations: 290.2 kB / 475.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.1442, allocations: 385.6 kB / 475.6 MB, free: 9.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1442, allocations: 7.938 kB / 475.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005503/0.1448, allocations: 389.3 kB / 476 MB, free: 8.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1448, allocations: 8 kB / 476 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1448, allocations: 8 kB / 476 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.1448, allocations: 12 kB / 476 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.1451, allocations: 91.83 kB / 476.1 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.1451, allocations: 19.88 kB / 476.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1454, allocations: 47.52 kB / 476.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1454, allocations: 24 kB / 476.2 MB, free: 8.5 MB / 346.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.000157/0.1456, allocations: 169.8 kB / 476.3 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.1457, allocations: 39.47 kB / 476.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.1461, allocations: 231.5 kB / 476.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1461, allocations: 4 kB / 476.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1461, allocations: 7.969 kB / 476.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1461, allocations: 0 / 476.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.1466, allocations: 0.5336 MB / 477.1 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1466, allocations: 0 / 477.1 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.1466, allocations: 0 / 477.1 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1467, allocations: 7.938 kB / 477.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.1467, allocations: 0 / 477.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1467, allocations: 0 / 477.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1467, allocations: 0 / 477.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1471, allocations: 0.744 MB / 477.9 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.1472, allocations: 112.6 kB / 478 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.1473, allocations: 7.938 kB / 478 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.1474, allocations: 0 / 478 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.1474, allocations: 0 / 478 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1474, allocations: 4.031 kB / 478 MB, free: 6.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003555/0.1478, allocations: 366.8 kB / 478.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-07/0.1478, allocations: 0 / 478.4 MB, free: 6.113 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006478/0.1484, allocations: 171.9 kB / 478.5 MB, free: 5.945 MB / 346.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.0004451/0.1489, allocations: 290.8 kB / 478.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.1491, allocations: 169.6 kB / 479 MB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1492, allocations: 4.062 kB / 479 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.651e-05/0.1492, allocations: 15.92 kB / 479 MB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.1497, allocations: 81.91 kB / 479.1 MB, free: 5.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.1506, allocations: 0.7263 MB / 479.8 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.151, allocations: 0.7882 MB / 480.6 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003239/0.1513, allocations: 107 kB / 480.7 MB, free: 3.711 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.1514, allocations: 43.42 kB / 480.7 MB, free: 3.668 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1514, allocations: 0 / 480.7 MB, free: 3.668 MB / 346.7 MB Notification: Performance of Templates: time 0.01086/0.1622, allocations: 6.289 MB / 487 MB, free: 13.43 MB / 362.7 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 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1)