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.005785/0.005785, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001299/0.001299, allocations: 195.7 kB / 16.79 MB, free: 5.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2147/0.2147, allocations: 15.31 MB / 305.9 MB, free: 15.34 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 370.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1071, allocations: 53.61 MB / 423.9 MB, free: 14.79 MB / 366.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.4136/0.5207, allocations: 22.81 MB / 446.7 MB, free: 39.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006025/0.5268, allocations: 6.291 MB / 453 MB, free: 36.76 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004792/0.5273, allocations: 21.22 kB / 453 MB, free: 36.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.5278, allocations: 147.4 kB / 453.2 MB, free: 36.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006214/0.5285, allocations: 212 kB / 453.4 MB, free: 36.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.5308, allocations: 0.8476 MB / 454.2 MB, free: 36.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.5314, allocations: 0.5072 MB / 454.7 MB, free: 36.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.5317, allocations: 186.2 kB / 454.9 MB, free: 35.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.5319, allocations: 224.2 kB / 455.1 MB, free: 35.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.5322, allocations: 260.5 kB / 455.4 MB, free: 35.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.329e-05/0.5323, allocations: 19.16 kB / 455.4 MB, free: 35.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.5339, allocations: 0.5448 MB / 456 MB, free: 35.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.534, allocations: 83.33 kB / 456 MB, free: 35.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.5342, allocations: 199.6 kB / 456.2 MB, free: 35.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008558/0.5351, allocations: 0.7642 MB / 457 MB, free: 35.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5351, allocations: 0 / 457 MB, free: 35.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5351, allocations: 0 / 457 MB, free: 35.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.5351, allocations: 4 kB / 457 MB, free: 35.5 MB / 366.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.001045/0.5362, allocations: 0.7868 MB / 457.8 MB, free: 34.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.5362, allocations: 8.781 kB / 457.8 MB, free: 34.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.5367, allocations: 116.5 kB / 457.9 MB, free: 34.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.5372, allocations: 378.4 kB / 458.3 MB, free: 34.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.5372, allocations: 16.53 kB / 458.3 MB, free: 34.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.5373, allocations: 35.94 kB / 458.3 MB, free: 34.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.5379, allocations: 438.6 kB / 458.8 MB, free: 34.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.5379, allocations: 3.938 kB / 458.8 MB, free: 34.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.538, allocations: 17.61 kB / 458.8 MB, free: 34.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.538, allocations: 9.375 kB / 458.8 MB, free: 34.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.5387, allocations: 0.5774 MB / 459.4 MB, free: 34.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.5406, allocations: 1.755 MB / 461.1 MB, free: 33.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.5409, allocations: 141.7 kB / 461.3 MB, free: 33.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.5411, allocations: 83.2 kB / 461.3 MB, free: 33.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/0.5429, allocations: 1.882 MB / 463.2 MB, free: 31.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.543, allocations: 34.5 kB / 463.3 MB, free: 31.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.543, allocations: 0 / 463.3 MB, free: 31.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003858/0.5434, allocations: 187.9 kB / 463.4 MB, free: 31.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.5434, allocations: 58.69 kB / 463.5 MB, free: 31.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.5438, allocations: 434.9 kB / 463.9 MB, free: 31.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.5438, allocations: 33.64 kB / 464 MB, free: 31.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.5439, allocations: 264.6 kB / 464.2 MB, free: 31.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.544, allocations: 29.84 kB / 464.2 MB, free: 31.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-05/0.5441, allocations: 86.59 kB / 464.3 MB, free: 31.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.37e-05/0.5442, allocations: 349 kB / 464.7 MB, free: 30.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.5443, allocations: 73.64 kB / 464.7 MB, free: 30.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.5445, allocations: 280.4 kB / 465 MB, free: 30.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.5448, allocations: 390.1 kB / 465.4 MB, free: 30.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5448, allocations: 3.156 kB / 465.4 MB, free: 30.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005285/0.5454, allocations: 388 kB / 465.8 MB, free: 29.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.5454, allocations: 9.969 kB / 465.8 MB, free: 29.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5454, allocations: 9.312 kB / 465.8 MB, free: 29.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.5455, allocations: 12.94 kB / 465.8 MB, free: 29.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.5457, allocations: 89.27 kB / 465.9 MB, free: 29.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.5457, allocations: 20.16 kB / 465.9 MB, free: 29.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.546, allocations: 45.44 kB / 466 MB, free: 29.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.546, allocations: 28.84 kB / 466 MB, free: 29.88 MB / 366.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.0001293/0.5462, allocations: 164.5 kB / 466.2 MB, free: 29.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.5462, allocations: 34.53 kB / 466.2 MB, free: 29.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.5467, allocations: 243.5 kB / 466.4 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.5467, allocations: 0 / 466.4 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5467, allocations: 3.938 kB / 466.4 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5467, allocations: 1.188 kB / 466.4 MB, free: 29.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004794/0.5472, allocations: 0.5352 MB / 467 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5472, allocations: 3.188 kB / 467 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.5472, allocations: 2.531 kB / 467 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5472, allocations: 3.938 kB / 467 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.5472, allocations: 1.156 kB / 467 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5472, allocations: 0 / 467 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5472, allocations: 0 / 467 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.5474, allocations: 110.6 kB / 467.1 MB, free: 29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.5474, allocations: 120.9 kB / 467.2 MB, free: 28.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.5475, allocations: 7.844 kB / 467.2 MB, free: 28.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.464e-05/0.5476, allocations: 2.875 kB / 467.2 MB, free: 28.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.5476, allocations: 4 kB / 467.2 MB, free: 28.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.5476, allocations: 0 / 467.2 MB, free: 28.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003276/0.548, allocations: 365.9 kB / 467.6 MB, free: 28.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.548, allocations: 2.906 kB / 467.6 MB, free: 28.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005691/0.5486, allocations: 168 kB / 467.7 MB, free: 28.64 MB / 366.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.0005013/0.5491, allocations: 286.7 kB / 468 MB, free: 28.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.5494, allocations: 167.5 kB / 468.2 MB, free: 28.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5494, allocations: 5.812 kB / 468.2 MB, free: 28.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.5494, allocations: 9.906 kB / 468.2 MB, free: 28.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.55, allocations: 85.05 kB / 468.3 MB, free: 28.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009135/0.5509, allocations: 0.664 MB / 468.9 MB, free: 27.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.5511, allocations: 0.7818 MB / 469.7 MB, free: 27.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.5513, allocations: 68.48 kB / 469.8 MB, free: 27.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5513, allocations: 0 / 469.8 MB, free: 27.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01112/0.5624, allocations: 6.168 MB / 476 MB, free: 26.46 MB / 366.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 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1)