Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7755/0.7755, allocations: 150.9 MB / 166 MB, free: 14.63 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002677, allocations: 15.98 kB / 204 MB, free: 10.13 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 31.32 MB / 235.4 MB, free: 5.699 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d): time 1.531/1.672, allocations: 291.6 MB / 0.5146 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003998/1.676, allocations: 3.687 MB / 0.5182 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/1.676, allocations: 0.9062 kB / 0.5182 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/1.676, allocations: 3.938 kB / 0.5182 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 8.522e-05/1.676, allocations: 17.88 kB / 0.5182 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/1.678, allocations: 0.6473 MB / 0.5189 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.429e-05/1.678, allocations: 55.72 kB / 0.5189 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/1.678, allocations: 14.39 kB / 0.5189 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.023e-05/1.678, allocations: 27.91 kB / 0.519 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.893e-05/1.678, allocations: 27.86 kB / 0.519 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/1.678, allocations: 4 kB / 0.519 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/1.679, allocations: 0.6467 MB / 0.5196 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/1.679, allocations: 8 kB / 0.5196 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/1.679, allocations: 32.34 kB / 0.5197 GB, free: 9.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000832/1.68, allocations: 0.6078 MB / 0.5203 GB, free: 9.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/1.68, allocations: 0.5 kB / 0.5203 GB, free: 9.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.01e-07/1.68, allocations: 0 / 0.5203 GB, free: 9.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/1.68, allocations: 0.5625 kB / 0.5203 GB, free: 9.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004951/1.681, allocations: 439.6 kB / 0.5207 GB, free: 8.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.681, allocations: 10.25 kB / 0.5207 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/1.681, allocations: 7.906 kB / 0.5207 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/1.681, allocations: 163 kB / 0.5208 GB, free: 8.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.681, allocations: 8 kB / 0.5209 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/1.681, allocations: 4 kB / 0.5209 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/1.681, allocations: 60.05 kB / 0.5209 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.681, allocations: 3.984 kB / 0.5209 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.681, allocations: 4 kB / 0.5209 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.681, allocations: 0 / 0.5209 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/1.681, allocations: 67.88 kB / 0.521 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/1.682, allocations: 439.5 kB / 0.5214 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/1.682, allocations: 64.16 kB / 0.5215 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/1.682, allocations: 34.09 kB / 0.5215 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002623/1.684, allocations: 3.305 MB / 0.5247 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.685, allocations: 39.81 kB / 0.5248 GB, free: 3.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/1.685, allocations: 0 / 0.5248 GB, free: 3.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002575/1.685, allocations: 102.4 kB / 0.5249 GB, free: 3.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/1.685, allocations: 51.41 kB / 0.5249 GB, free: 3.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/1.685, allocations: 106.7 kB / 0.525 GB, free: 3.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/1.685, allocations: 33.7 kB / 0.525 GB, free: 3.473 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/1.685, allocations: 84.67 kB / 0.5251 GB, free: 3.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/1.685, allocations: 36.11 kB / 0.5252 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/1.685, allocations: 30.8 kB / 0.5252 GB, free: 3.316 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/1.685, allocations: 314.8 kB / 0.5255 GB, free: 3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.201e-05/1.685, allocations: 21.52 kB / 0.5255 GB, free: 2.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.277e-05/1.685, allocations: 22.06 kB / 0.5255 GB, free: 2.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.127e-05/1.685, allocations: 48.86 kB / 0.5256 GB, free: 2.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.685, allocations: 0 / 0.5256 GB, free: 2.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001603/1.686, allocations: 98.05 kB / 0.5257 GB, free: 2.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.686, allocations: 8.812 kB / 0.5257 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/1.686, allocations: 0 / 0.5257 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.686, allocations: 5.844 kB / 0.5257 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/1.686, allocations: 19.98 kB / 0.5257 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.686, allocations: 0 / 0.5257 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/1.686, allocations: 15.84 kB / 0.5257 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/1.686, allocations: 0 / 0.5257 GB, free: 2.762 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 12 * 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 7.78e-05/1.686, allocations: 124.2 kB / 0.5258 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/1.686, allocations: 7.906 kB / 0.5258 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/1.686, allocations: 121.9 kB / 0.526 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.686, allocations: 4.25 kB / 0.526 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.686, allocations: 0 / 0.526 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.686, allocations: 4.609 kB / 0.526 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/1.686, allocations: 179.5 kB / 0.5261 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/1.686, allocations: 0 / 0.5261 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/1.686, allocations: 15.98 kB / 0.5262 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.686, allocations: 4 kB / 0.5262 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.686, allocations: 7.938 kB / 0.5262 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.686, allocations: 4.75 kB / 0.5262 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.686, allocations: 0 / 0.5262 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/1.687, allocations: 184.7 kB / 0.5263 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/1.687, allocations: 86.55 kB / 0.5264 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/1.687, allocations: 7.938 kB / 0.5264 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/1.687, allocations: 4 kB / 0.5264 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/1.687, allocations: 13.14 kB / 0.5265 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/1.687, allocations: 4 kB / 0.5265 GB, free: 1.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.906e-05/1.687, allocations: 84.06 kB / 0.5265 GB, free: 1.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.687, allocations: 0 / 0.5265 GB, free: 1.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004411/1.687, allocations: 168.6 kB / 0.5267 GB, free: 1.676 MB / 414.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 (11): * Single equations (assignments): 11 * 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.0006611/1.688, allocations: 447.1 kB / 0.5271 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/1.688, allocations: 52.47 kB / 0.5272 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.688, allocations: 1.5 kB / 0.5272 GB, free: 1.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/1.688, allocations: 36.14 kB / 0.5272 GB, free: 1.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/1.689, allocations: 22.75 kB / 0.5272 GB, free: 1.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/1.689, allocations: 195.9 kB / 0.5274 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/1.689, allocations: 0.6893 MB / 0.5281 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.385e-05/1.689, allocations: 11 kB / 0.5281 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/1.689, allocations: 19.38 kB / 0.5281 GB, free: 200 kB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/1.689, allocations: 3.938 kB / 0.5281 GB, free: 196 kB / 414.1 MB Notification: Performance of Templates: time 0.008394/1.698, allocations: 5.523 MB / 0.5335 GB, free: 10.84 MB / 430.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe 2>&1)