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.001282/0.001282, allocations: 109.8 kB / 16.41 MB, free: 6.465 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.001294/0.001294, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.288/1.288, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.0772/0.0772, allocations: 15.31 MB / 306.5 MB, free: 15.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 60.12 kB / 425.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07915/0.08034, allocations: 53.62 MB / 479.5 MB, free: 5.785 MB / 350.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.03028/0.1106, allocations: 22.68 MB / 0.4904 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00682/0.1175, allocations: 6.292 MB / 0.4965 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.1178, allocations: 7.938 kB / 0.4965 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.1183, allocations: 166.8 kB / 0.4967 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.1189, allocations: 242.1 kB / 0.4969 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.1208, allocations: 0.9703 MB / 0.4979 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006177/0.1214, allocations: 0.5021 MB / 0.4984 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.1217, allocations: 188.8 kB / 0.4985 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.122, allocations: 247.3 kB / 0.4988 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.1224, allocations: 267 kB / 0.499 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.1224, allocations: 28 kB / 0.4991 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.1236, allocations: 0.5499 MB / 0.4996 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1237, allocations: 103.6 kB / 0.4997 GB, free: 5.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.1239, allocations: 199 kB / 0.4999 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.1252, allocations: 1.067 MB / 0.5009 GB, free: 4.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1252, allocations: 0 / 0.5009 GB, free: 4.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1252, allocations: 0 / 0.5009 GB, free: 4.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1252, allocations: 0 / 0.5009 GB, free: 4.34 MB / 382.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.001084/0.1263, allocations: 0.7984 MB / 0.5017 GB, free: 3.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.1263, allocations: 8.031 kB / 0.5017 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005272/0.1269, allocations: 112.1 kB / 0.5018 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.1273, allocations: 395.7 kB / 0.5022 GB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.1274, allocations: 20.94 kB / 0.5022 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.1274, allocations: 28.12 kB / 0.5022 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.1281, allocations: 442.1 kB / 0.5027 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1281, allocations: 4 kB / 0.5027 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.1282, allocations: 8 kB / 0.5027 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1282, allocations: 8 kB / 0.5027 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000799/0.129, allocations: 0.5832 MB / 0.5033 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.173/0.3019, allocations: 1.754 MB / 0.505 GB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.3023, allocations: 138.6 kB / 0.5051 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.3025, allocations: 83.83 kB / 0.5052 GB, free: 33.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/0.3043, allocations: 1.866 MB / 0.507 GB, free: 31.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.3044, allocations: 35.31 kB / 0.507 GB, free: 31.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.3044, allocations: 7.031 kB / 0.507 GB, free: 31.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003569/0.3047, allocations: 186.8 kB / 0.5072 GB, free: 31.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.382e-05/0.3048, allocations: 52.94 kB / 0.5073 GB, free: 31.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.3052, allocations: 437.8 kB / 0.5077 GB, free: 31.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3052, allocations: 27.08 kB / 0.5077 GB, free: 31.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3053, allocations: 261.3 kB / 0.508 GB, free: 31.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3054, allocations: 33.75 kB / 0.508 GB, free: 31.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.626e-05/0.3055, allocations: 85.02 kB / 0.5081 GB, free: 31.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.3055, allocations: 348.4 kB / 0.5084 GB, free: 30.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3057, allocations: 68.55 kB / 0.5085 GB, free: 30.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.3059, allocations: 287.2 kB / 0.5088 GB, free: 30.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.3062, allocations: 389 kB / 0.5091 GB, free: 30.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3062, allocations: 2.594 kB / 0.5091 GB, free: 30.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005333/0.3067, allocations: 393.7 kB / 0.5095 GB, free: 30.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3068, allocations: 7.875 kB / 0.5095 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3068, allocations: 11.97 kB / 0.5095 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3068, allocations: 11.09 kB / 0.5095 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.3071, allocations: 90.31 kB / 0.5096 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.3071, allocations: 15.38 kB / 0.5096 GB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.3073, allocations: 42.53 kB / 0.5097 GB, free: 30.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.3074, allocations: 27.58 kB / 0.5097 GB, free: 30.24 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.0001182/0.3075, allocations: 168.2 kB / 0.5099 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.3076, allocations: 42.72 kB / 0.5099 GB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.3079, allocations: 238.1 kB / 0.5101 GB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3079, allocations: 6.844 kB / 0.5101 GB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.308, allocations: 0.6094 kB / 0.5101 GB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.308, allocations: 111.7 kB / 0.5102 GB, free: 29.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.3081, allocations: 4.719 kB / 0.5102 GB, free: 29.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.3082, allocations: 0 / 0.5102 GB, free: 29.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.3082, allocations: 1.797 kB / 0.5102 GB, free: 29.87 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001196/0.3083, allocations: 130.9 kB / 0.5104 GB, free: 29.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001107/0.3084, allocations: 261.5 kB / 0.5106 GB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.046e-05/0.3085, allocations: 7.062 kB / 0.5106 GB, free: 29.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003344/0.3088, allocations: 341.5 kB / 0.511 GB, free: 29.42 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.3088, allocations: 2.953 kB / 0.511 GB, free: 29.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.3099, allocations: 0.5365 MB / 0.5115 GB, free: 29.29 MB / 382.1 MB Notification: Performance of SimCode: time 0.001083/0.311, allocations: 1.114 MB / 0.5126 GB, free: 28.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01341/0.3244, allocations: 8.603 MB / 0.521 GB, free: 27.3 MB / 382.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)