Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 89.27 kB / 19.43 MB, free: 1.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 172.2 kB / 22.75 MB, free: 4.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 177.1 MB / 203.1 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1416/0.1416, allocations: 17.37 MB / 276.9 MB, free: 15.09 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 352.7 MB, free: 16.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.347e-05, allocations: 2.312 kB / 352.7 MB, free: 16.03 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:12638:6-12638: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 2.0.0/Obsolete.mo:12638:6-12638: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.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.03081/0.03084, allocations: 24.34 MB / 377 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008764/0.0396, allocations: 5.553 MB / 382.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.03996, allocations: 15.88 kB / 382.6 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.04053, allocations: 146.8 kB / 382.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008287/0.04136, allocations: 273.8 kB / 383 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.04441, allocations: 1.005 MB / 384 MB, free: 0.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009905/0.0454, allocations: 0.5252 MB / 384.5 MB, free: 312 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.04577, allocations: 177 kB / 384.7 MB, free: 132 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.04623, allocations: 315.5 kB / 385 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004644/0.04669, allocations: 227.5 kB / 385.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.633e-05/0.04678, allocations: 28 kB / 385.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.04839, allocations: 0.5263 MB / 385.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.04854, allocations: 99.66 kB / 385.9 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.04876, allocations: 135.6 kB / 386 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.05101, allocations: 1.148 MB / 387.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.05101, allocations: 0 / 387.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.05101, allocations: 4 kB / 387.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.05102, allocations: 0 / 387.2 MB, free: 13.65 MB / 318.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.001344/0.05237, allocations: 0.7299 MB / 387.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.05241, allocations: 12.03 kB / 387.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007232/0.05313, allocations: 183.7 kB / 388.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.05379, allocations: 345.4 kB / 388.4 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.05382, allocations: 21.03 kB / 388.5 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.05388, allocations: 24.38 kB / 388.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007498/0.05463, allocations: 444 kB / 388.9 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.05466, allocations: 11.91 kB / 388.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.0547, allocations: 12 kB / 388.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.05471, allocations: 12 kB / 389 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009782/0.05569, allocations: 0.5757 MB / 389.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.05825, allocations: 1.61 MB / 391.1 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.05858, allocations: 134.4 kB / 391.3 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.05874, allocations: 80.83 kB / 391.4 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00207/0.06081, allocations: 0.9406 MB / 392.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.06084, allocations: 30.56 kB / 392.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.06084, allocations: 0 / 392.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004604/0.0613, allocations: 185.3 kB / 392.5 MB, free: 8.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.06135, allocations: 55.41 kB / 392.6 MB, free: 8.055 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.06183, allocations: 405.4 kB / 393 MB, free: 7.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.06186, allocations: 25.7 kB / 393 MB, free: 7.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.06209, allocations: 271.6 kB / 393.2 MB, free: 7.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.06213, allocations: 43.72 kB / 393.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.06226, allocations: 77.59 kB / 393.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.06243, allocations: 346.9 kB / 393.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.06257, allocations: 75.95 kB / 393.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.06291, allocations: 279.4 kB / 394 MB, free: 6.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.06343, allocations: 393.5 kB / 394.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.06343, allocations: 0 / 394.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006679/0.0641, allocations: 397.7 kB / 394.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.06412, allocations: 15.97 kB / 394.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.06414, allocations: 8 kB / 394.8 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.06416, allocations: 12 kB / 394.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.06447, allocations: 91.83 kB / 394.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.667e-05/0.06449, allocations: 15.92 kB / 395 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.06476, allocations: 43.67 kB / 395 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.06482, allocations: 28 kB / 395 MB, free: 5.324 MB / 318.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.0002347/0.06506, allocations: 165.6 kB / 395.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.06515, allocations: 39.77 kB / 395.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.06565, allocations: 234.1 kB / 395.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.06566, allocations: 0 / 395.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.06566, allocations: 0 / 395.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.06567, allocations: 4.047 kB / 395.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.06624, allocations: 474.1 kB / 395.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.06625, allocations: 4.062 kB / 395.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.06627, allocations: 0 / 395.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.06627, allocations: 0 / 395.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.06628, allocations: 0 / 395.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.06628, allocations: 0 / 395.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.06628, allocations: 4 kB / 395.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.06643, allocations: 108.8 kB / 396 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.06649, allocations: 31.81 kB / 396.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.06653, allocations: 3.953 kB / 396.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.06661, allocations: 3.984 kB / 396.1 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.06663, allocations: 4.031 kB / 396.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.06664, allocations: 3.938 kB / 396.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003755/0.06701, allocations: 315.1 kB / 396.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06701, allocations: 0 / 396.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006687/0.06768, allocations: 179.3 kB / 396.6 MB, free: 3.695 MB / 318.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.0005743/0.06826, allocations: 311.1 kB / 396.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.0686, allocations: 152.9 kB / 397 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.0686, allocations: 0 / 397 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.995e-05/0.06862, allocations: 15.98 kB / 397 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.0691, allocations: 81.08 kB / 397.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.07002, allocations: 0.528 MB / 397.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.07023, allocations: 177.1 kB / 397.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000273/0.0705, allocations: 94.45 kB / 397.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.07059, allocations: 44.48 kB / 398 MB, free: 2.262 MB / 318.1 MB Notification: Performance of SimCode: time 7.02e-07/0.07059, allocations: 0 / 398 MB, free: 2.262 MB / 318.1 MB Notification: Performance of Templates: time 0.01259/0.08318, allocations: 6.162 MB / 404.1 MB, free: 12.17 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.472750470042229]