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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00142/0.00142, allocations: 197.8 kB / 16.14 MB, free: 6.703 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2169/0.2169, allocations: 15.32 MB / 305.3 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 56.05 kB / 369.6 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.118, allocations: 53.61 MB / 423.3 MB, free: 14.8 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.3836/0.5017, allocations: 22.18 MB / 445.4 MB, free: 40.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.5075, allocations: 6.284 MB / 451.7 MB, free: 37.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.5079, allocations: 14.44 kB / 451.7 MB, free: 37.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.5084, allocations: 142.7 kB / 451.9 MB, free: 36.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005496/0.5089, allocations: 220.6 kB / 452.1 MB, free: 36.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.5107, allocations: 0.8495 MB / 452.9 MB, free: 36.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004753/0.5112, allocations: 0.5075 MB / 453.4 MB, free: 36.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.5114, allocations: 183 kB / 453.6 MB, free: 36.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.5117, allocations: 224.1 kB / 453.8 MB, free: 36.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002996/0.512, allocations: 259 kB / 454.1 MB, free: 36.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.512, allocations: 14.97 kB / 454.1 MB, free: 36.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.5133, allocations: 0.5457 MB / 454.7 MB, free: 36.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.5134, allocations: 82.62 kB / 454.7 MB, free: 36.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.5136, allocations: 198.2 kB / 454.9 MB, free: 36.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.5147, allocations: 0.9795 MB / 455.9 MB, free: 35.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5147, allocations: 0 / 455.9 MB, free: 35.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.5147, allocations: 4 kB / 455.9 MB, free: 35.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.5147, allocations: 0 / 455.9 MB, free: 35.73 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.0009865/0.5157, allocations: 0.7981 MB / 456.7 MB, free: 35.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5157, allocations: 9.375 kB / 456.7 MB, free: 35.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.5162, allocations: 111.5 kB / 456.8 MB, free: 35.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.5167, allocations: 372.7 kB / 457.2 MB, free: 34.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.5167, allocations: 21.25 kB / 457.2 MB, free: 34.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.5168, allocations: 30.28 kB / 457.2 MB, free: 34.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.5173, allocations: 442.5 kB / 457.7 MB, free: 34.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5173, allocations: 4 kB / 457.7 MB, free: 34.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.5174, allocations: 10.34 kB / 457.7 MB, free: 34.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.5174, allocations: 9.094 kB / 457.7 MB, free: 34.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000716/0.5181, allocations: 0.5878 MB / 458.3 MB, free: 34.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.52, allocations: 1.76 MB / 460 MB, free: 33.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.5202, allocations: 151.8 kB / 460.2 MB, free: 33.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.5204, allocations: 80.22 kB / 460.3 MB, free: 33.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/0.5221, allocations: 1.878 MB / 462.1 MB, free: 32.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.5221, allocations: 37.92 kB / 462.2 MB, free: 32.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.5221, allocations: 4 kB / 462.2 MB, free: 32.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003715/0.5225, allocations: 181 kB / 462.4 MB, free: 31.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.5225, allocations: 58.59 kB / 462.4 MB, free: 31.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.5229, allocations: 432.2 kB / 462.8 MB, free: 31.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.5229, allocations: 33.08 kB / 462.9 MB, free: 31.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.5231, allocations: 262.5 kB / 463.1 MB, free: 31.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.5231, allocations: 33.14 kB / 463.2 MB, free: 31.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.5232, allocations: 83.44 kB / 463.2 MB, free: 31.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.5233, allocations: 352.9 kB / 463.6 MB, free: 31.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.5234, allocations: 74.22 kB / 463.7 MB, free: 30.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.5236, allocations: 278.3 kB / 463.9 MB, free: 30.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.5239, allocations: 387.8 kB / 464.3 MB, free: 30.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5239, allocations: 3.031 kB / 464.3 MB, free: 30.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004758/0.5244, allocations: 389.8 kB / 464.7 MB, free: 30.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5244, allocations: 9.344 kB / 464.7 MB, free: 30.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5245, allocations: 10.19 kB / 464.7 MB, free: 30.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.5245, allocations: 11.19 kB / 464.7 MB, free: 30.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.5247, allocations: 93.22 kB / 464.8 MB, free: 30.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.5248, allocations: 13.41 kB / 464.8 MB, free: 30.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.525, allocations: 42.41 kB / 464.9 MB, free: 30.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.525, allocations: 30.95 kB / 464.9 MB, free: 30.09 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.0001209/0.5252, allocations: 162.5 kB / 465.1 MB, free: 29.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.5252, allocations: 38.19 kB / 465.1 MB, free: 29.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.5256, allocations: 241.2 kB / 465.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5256, allocations: 3.094 kB / 465.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5256, allocations: 3.938 kB / 465.3 MB, free: 29.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5257, allocations: 0 / 465.3 MB, free: 29.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.526, allocations: 0.5337 MB / 465.9 MB, free: 29.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5261, allocations: 48 / 465.9 MB, free: 29.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.5261, allocations: 4.359 kB / 465.9 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5261, allocations: 10.12 kB / 465.9 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.5261, allocations: 0 / 465.9 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5261, allocations: 0 / 465.9 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5261, allocations: 7.875 kB / 465.9 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.76e-05/0.5262, allocations: 109.4 kB / 466 MB, free: 29.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.5263, allocations: 120.5 kB / 466.1 MB, free: 29.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.5263, allocations: 14.84 kB / 466.1 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.5264, allocations: 3.422 kB / 466.1 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.5265, allocations: 0 / 466.1 MB, free: 29.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.5265, allocations: 2.938 kB / 466.1 MB, free: 29.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003328/0.5268, allocations: 358.5 kB / 466.5 MB, free: 28.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5268, allocations: 0 / 466.5 MB, free: 28.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005317/0.5274, allocations: 168.4 kB / 466.7 MB, free: 28.84 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.0004343/0.5278, allocations: 292 kB / 466.9 MB, free: 28.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.528, allocations: 161.2 kB / 467.1 MB, free: 28.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5281, allocations: 3.938 kB / 467.1 MB, free: 28.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.5281, allocations: 12.91 kB / 467.1 MB, free: 28.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.5286, allocations: 83.78 kB / 467.2 MB, free: 28.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.5294, allocations: 0.6454 MB / 467.8 MB, free: 28.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.5296, allocations: 0.7836 MB / 468.6 MB, free: 27.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.5299, allocations: 104 kB / 468.7 MB, free: 27.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.53, allocations: 46.81 kB / 468.8 MB, free: 27.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.53, allocations: 0 / 468.8 MB, free: 27.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01056/0.5406, allocations: 6.187 MB / 475 MB, free: 26.85 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)