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.001215/0.001215, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.00141/0.00141, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08025/0.08025, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 61 kB / 371.7 MB, free: 50.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08783, allocations: 53.61 MB / 425.4 MB, free: 13.3 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.02917/0.117, allocations: 22.46 MB / 447.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006857/0.1239, allocations: 6.288 MB / 454.1 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.1243, allocations: 7.938 kB / 454.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005436/0.1249, allocations: 158.8 kB / 454.3 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007626/0.1257, allocations: 250 kB / 454.5 MB, free: 248 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.1282, allocations: 0.9666 MB / 455.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.1291, allocations: 0.5058 MB / 456 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.1295, allocations: 200.7 kB / 456.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003688/0.1299, allocations: 243.3 kB / 456.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.1303, allocations: 267 kB / 456.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.742e-05/0.1304, allocations: 28 kB / 456.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1319, allocations: 0.5538 MB / 457.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1321, allocations: 95.67 kB / 457.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.1323, allocations: 202.9 kB / 457.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1341, allocations: 1.063 MB / 458.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1341, allocations: 0 / 458.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1341, allocations: 0 / 458.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1342, allocations: 0 / 458.6 MB, free: 12.12 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.00109/0.1353, allocations: 0.8024 MB / 459.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1353, allocations: 12.03 kB / 459.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/0.1358, allocations: 112.4 kB / 459.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/0.1364, allocations: 383.8 kB / 459.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.1364, allocations: 16.94 kB / 459.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.1365, allocations: 32.06 kB / 460 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.1371, allocations: 450.1 kB / 460.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1371, allocations: 0 / 460.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.1372, allocations: 12 kB / 460.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.1372, allocations: 4 kB / 460.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.138, allocations: 0.5833 MB / 461 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.1403, allocations: 1.76 MB / 462.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1406, allocations: 138.5 kB / 462.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1408, allocations: 84.83 kB / 463 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/0.143, allocations: 1.876 MB / 464.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1431, allocations: 38.56 kB / 464.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.1431, allocations: 4 kB / 464.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004044/0.1435, allocations: 181.1 kB / 465.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1435, allocations: 59.47 kB / 465.1 MB, free: 5.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.144, allocations: 437.8 kB / 465.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.144, allocations: 25.7 kB / 465.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1442, allocations: 259.4 kB / 465.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.1442, allocations: 39.55 kB / 465.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1443, allocations: 73.36 kB / 465.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1444, allocations: 350.8 kB / 466.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1446, allocations: 75.89 kB / 466.4 MB, free: 3.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.1448, allocations: 290.2 kB / 466.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.1452, allocations: 389.5 kB / 467 MB, free: 2.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1452, allocations: 0 / 467 MB, free: 2.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005497/0.1458, allocations: 385.3 kB / 467.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1458, allocations: 8 kB / 467.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1458, allocations: 8 kB / 467.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1458, allocations: 16.06 kB / 467.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.1461, allocations: 87.89 kB / 467.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.1461, allocations: 19.86 kB / 467.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.1464, allocations: 47.44 kB / 467.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.1464, allocations: 28 kB / 467.6 MB, free: 2.355 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.0001545/0.1466, allocations: 173.6 kB / 467.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.1467, allocations: 39.53 kB / 467.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.1471, allocations: 239.6 kB / 468.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1471, allocations: 0 / 468.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1471, allocations: 3.938 kB / 468.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1471, allocations: 0 / 468.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.1477, allocations: 0.5336 MB / 468.6 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1477, allocations: 4 kB / 468.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.1477, allocations: 0 / 468.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.1477, allocations: 3.938 kB / 468.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1477, allocations: 0 / 468.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1477, allocations: 0 / 468.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1477, allocations: 0 / 468.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1479, allocations: 112.6 kB / 468.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/0.148, allocations: 120.6 kB / 468.8 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.148, allocations: 4 kB / 468.8 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1481, allocations: 7.984 kB / 468.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1482, allocations: 3.938 kB / 468.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.1482, allocations: 0 / 468.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003658/0.1485, allocations: 358.9 kB / 469.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1485, allocations: 0 / 469.2 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005517/0.1491, allocations: 183.7 kB / 469.4 MB, free: 464 kB / 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.0004288/0.1495, allocations: 298.9 kB / 469.7 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.1498, allocations: 159.9 kB / 469.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1498, allocations: 1.875 kB / 469.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.1499, allocations: 11.94 kB / 469.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.1503, allocations: 91.11 kB / 469.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.1512, allocations: 0.5229 MB / 470.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1515, allocations: 0.7834 MB / 471.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.1517, allocations: 103.3 kB / 471.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.1518, allocations: 47.42 kB / 471.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1518, allocations: 0 / 471.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Templates: time 0.01044/0.1623, allocations: 6.324 MB / 477.7 MB, free: 8.102 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 gbode -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1)