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.009182/0.009182, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001587/0.001587, allocations: 198.5 kB / 16.67 MB, free: 5.969 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.3071/0.3071, allocations: 15.32 MB / 305.8 MB, free: 15.26 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 71.88 kB / 425.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4079, allocations: 53.6 MB / 478.8 MB, free: 25.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.04667/0.4546, allocations: 22.68 MB / 0.4897 GB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006845/0.4615, allocations: 6.287 MB / 0.4959 GB, free: 5.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006539/0.4622, allocations: 7.938 kB / 0.4959 GB, free: 5.688 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.4628, allocations: 154.8 kB / 0.496 GB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.4639, allocations: 253.9 kB / 0.4963 GB, free: 5.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.4665, allocations: 0.9588 MB / 0.4972 GB, free: 4.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000866/0.4674, allocations: 0.5137 MB / 0.4977 GB, free: 3.805 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.4677, allocations: 196.8 kB / 0.4979 GB, free: 3.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.4681, allocations: 239.3 kB / 0.4981 GB, free: 3.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.4685, allocations: 274.9 kB / 0.4984 GB, free: 3.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.176e-05/0.4686, allocations: 28 kB / 0.4984 GB, free: 3.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.4701, allocations: 0.5538 MB / 0.4989 GB, free: 2.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4703, allocations: 95.67 kB / 0.499 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.4705, allocations: 207 kB / 0.4992 GB, free: 2.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.4725, allocations: 1.07 MB / 0.5003 GB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4725, allocations: 0 / 0.5003 GB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4725, allocations: 0 / 0.5003 GB, free: 1.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.4725, allocations: 0 / 0.5003 GB, free: 1.148 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.001186/0.4737, allocations: 0.7972 MB / 0.5011 GB, free: 312 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.4738, allocations: 12.03 kB / 0.5011 GB, free: 300 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000528/0.4743, allocations: 116.1 kB / 0.5012 GB, free: 184 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005762/0.4749, allocations: 383.8 kB / 0.5015 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.4749, allocations: 16.94 kB / 0.5016 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.475, allocations: 28.12 kB / 0.5016 GB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.4757, allocations: 454 kB / 0.502 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4757, allocations: 0 / 0.502 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.4757, allocations: 12 kB / 0.502 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4758, allocations: 11.94 kB / 0.502 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000945/0.4767, allocations: 0.5794 MB / 0.5026 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.479, allocations: 1.753 MB / 0.5043 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.4793, allocations: 138.5 kB / 0.5045 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.4794, allocations: 80.83 kB / 0.5045 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/0.4817, allocations: 1.88 MB / 0.5064 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.4818, allocations: 34.56 kB / 0.5064 GB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4818, allocations: 0 / 0.5064 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004142/0.4822, allocations: 185.1 kB / 0.5066 GB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4823, allocations: 59.53 kB / 0.5066 GB, free: 10.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.4827, allocations: 433.8 kB / 0.5071 GB, free: 9.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4828, allocations: 29.7 kB / 0.5071 GB, free: 9.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.4829, allocations: 263 kB / 0.5073 GB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.483, allocations: 35.55 kB / 0.5074 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.4831, allocations: 73.98 kB / 0.5074 GB, free: 9.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4832, allocations: 346.8 kB / 0.5078 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.4834, allocations: 75.95 kB / 0.5078 GB, free: 8.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.4836, allocations: 286.7 kB / 0.5081 GB, free: 8.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/0.4841, allocations: 401.4 kB / 0.5085 GB, free: 7.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4841, allocations: 0 / 0.5085 GB, free: 7.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005853/0.4847, allocations: 384.5 kB / 0.5089 GB, free: 7.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4847, allocations: 13 kB / 0.5089 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4847, allocations: 8 kB / 0.5089 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.4848, allocations: 12 kB / 0.5089 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.485, allocations: 91.83 kB / 0.509 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.4851, allocations: 19.88 kB / 0.509 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.4853, allocations: 51.42 kB / 0.509 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.4854, allocations: 24 kB / 0.5091 GB, free: 7.395 MB / 382.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.0001701/0.4855, allocations: 165.6 kB / 0.5092 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.4856, allocations: 35.53 kB / 0.5093 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.486, allocations: 235.7 kB / 0.5095 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.486, allocations: 0 / 0.5095 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4861, allocations: 3.938 kB / 0.5095 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4861, allocations: 0 / 0.5095 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.4866, allocations: 0.5414 MB / 0.51 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4867, allocations: 0 / 0.51 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.4867, allocations: 0 / 0.51 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4867, allocations: 7.875 kB / 0.51 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.4867, allocations: 0 / 0.51 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.4867, allocations: 4 kB / 0.51 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4867, allocations: 0 / 0.51 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.4868, allocations: 108.6 kB / 0.5101 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.487, allocations: 120.6 kB / 0.5102 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.487, allocations: 7.938 kB / 0.5103 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.4871, allocations: 0 / 0.5103 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.4871, allocations: 3.984 kB / 0.5103 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.4871, allocations: 0 / 0.5103 GB, free: 6.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003857/0.4875, allocations: 358.9 kB / 0.5106 GB, free: 5.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4875, allocations: 0 / 0.5106 GB, free: 5.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005854/0.4881, allocations: 171.9 kB / 0.5108 GB, free: 5.512 MB / 382.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.0005015/0.4886, allocations: 295 kB / 0.511 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.4889, allocations: 164.1 kB / 0.5112 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.489, allocations: 0 / 0.5112 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/0.489, allocations: 9.625 kB / 0.5112 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.4895, allocations: 96.66 kB / 0.5113 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008807/0.4904, allocations: 0.5354 MB / 0.5118 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4908, allocations: 0.7911 MB / 0.5126 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.491, allocations: 103.2 kB / 0.5127 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.4911, allocations: 43.42 kB / 0.5127 GB, free: 3.434 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4911, allocations: 0 / 0.5127 GB, free: 3.434 MB / 382.1 MB Notification: Performance of Templates: time 0.01092/0.5021, allocations: 6.456 MB / 0.519 GB, free: 13.01 MB / 398.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)