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.7736/0.7736, allocations: 150.9 MB / 166.7 MB, free: 14.61 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003208, allocations: 15.98 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 31.33 MB / 236.1 MB, free: 5.445 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.516/1.668, allocations: 292.5 MB / 0.5163 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003805/1.672, allocations: 3.613 MB / 0.5198 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/1.672, allocations: 0 / 0.5198 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/1.672, allocations: 2.5 kB / 0.5198 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/1.672, allocations: 11.86 kB / 0.5198 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/1.674, allocations: 0.6744 MB / 0.5205 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.04e-05/1.674, allocations: 59.66 kB / 0.5205 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/1.674, allocations: 20.58 kB / 0.5206 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/1.674, allocations: 19.97 kB / 0.5206 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/1.674, allocations: 28.48 kB / 0.5206 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/1.674, allocations: 4.5 kB / 0.5206 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/1.675, allocations: 0.6132 MB / 0.5212 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/1.675, allocations: 8 kB / 0.5212 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/1.675, allocations: 29.56 kB / 0.5212 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/1.676, allocations: 462.1 kB / 0.5217 GB, free: 9.168 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.676, allocations: 4 kB / 0.5217 GB, free: 9.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/1.676, allocations: 3.938 kB / 0.5217 GB, free: 9.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/1.676, allocations: 1.812 kB / 0.5217 GB, free: 9.16 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.0005045/1.676, allocations: 431.1 kB / 0.5221 GB, free: 8.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/1.676, allocations: 8.031 kB / 0.5221 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/1.676, allocations: 7.906 kB / 0.5221 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/1.676, allocations: 166.3 kB / 0.5223 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/1.676, allocations: 4 kB / 0.5223 GB, free: 8.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/1.677, allocations: 7.938 kB / 0.5223 GB, free: 8.465 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/1.677, allocations: 66.16 kB / 0.5224 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/1.677, allocations: 1.281 kB / 0.5224 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/1.677, allocations: 0 / 0.5224 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/1.677, allocations: 0 / 0.5224 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/1.677, allocations: 75.86 kB / 0.5224 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/1.677, allocations: 436 kB / 0.5228 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/1.677, allocations: 67.81 kB / 0.5229 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/1.677, allocations: 24.86 kB / 0.5229 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002587/1.68, allocations: 3.301 MB / 0.5262 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/1.68, allocations: 43.5 kB / 0.5262 GB, free: 3.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/1.68, allocations: 0.625 kB / 0.5262 GB, free: 3.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002474/1.68, allocations: 104.7 kB / 0.5263 GB, free: 3.535 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/1.68, allocations: 51.41 kB / 0.5263 GB, free: 3.473 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.167e-05/1.68, allocations: 105.8 kB / 0.5264 GB, free: 3.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/1.68, allocations: 26.33 kB / 0.5265 GB, free: 3.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/1.681, allocations: 96.48 kB / 0.5266 GB, free: 3.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/1.681, allocations: 35.95 kB / 0.5266 GB, free: 3.195 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/1.681, allocations: 26.31 kB / 0.5266 GB, free: 3.164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/1.681, allocations: 320.6 kB / 0.5269 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/1.681, allocations: 19.98 kB / 0.5269 GB, free: 2.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/1.681, allocations: 19.98 kB / 0.527 GB, free: 2.805 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.64e-05/1.681, allocations: 57.02 kB / 0.527 GB, free: 2.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.681, allocations: 0.5938 kB / 0.527 GB, free: 2.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000152/1.681, allocations: 94.61 kB / 0.5271 GB, free: 2.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/1.681, allocations: 7.938 kB / 0.5271 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/1.681, allocations: 4 kB / 0.5271 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/1.681, allocations: 5.25 kB / 0.5271 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/1.681, allocations: 19.98 kB / 0.5271 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.681, allocations: 0 / 0.5271 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/1.681, allocations: 9.5 kB / 0.5272 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/1.681, allocations: 8 kB / 0.5272 GB, free: 2.598 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 6.852e-05/1.681, allocations: 118.6 kB / 0.5273 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/1.681, allocations: 11.89 kB / 0.5273 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/1.682, allocations: 111.8 kB / 0.5274 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.682, allocations: 4 kB / 0.5274 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.682, allocations: 0.75 kB / 0.5274 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.682, allocations: 0 / 0.5274 GB, free: 2.348 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/1.682, allocations: 174.4 kB / 0.5276 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.682, allocations: 0 / 0.5276 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/1.682, allocations: 24.55 kB / 0.5276 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.682, allocations: 0.6562 kB / 0.5276 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/1.682, allocations: 11.88 kB / 0.5276 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.682, allocations: 5.219 kB / 0.5276 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/1.682, allocations: 0 / 0.5276 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/1.682, allocations: 188.9 kB / 0.5278 GB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/1.682, allocations: 85.7 kB / 0.5279 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/1.682, allocations: 7.938 kB / 0.5279 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/1.682, allocations: 1.375 kB / 0.5279 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/1.682, allocations: 11.98 kB / 0.5279 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/1.682, allocations: 0 / 0.5279 GB, free: 1.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.747e-05/1.682, allocations: 88.52 kB / 0.528 GB, free: 1.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.682, allocations: 0 / 0.528 GB, free: 1.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004064/1.683, allocations: 163.9 kB / 0.5281 GB, free: 1.523 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.0006542/1.683, allocations: 447.4 kB / 0.5286 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/1.684, allocations: 64.97 kB / 0.5286 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.684, allocations: 0 / 0.5286 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/1.684, allocations: 40.41 kB / 0.5287 GB, free: 1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/1.684, allocations: 21.48 kB / 0.5287 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/1.684, allocations: 231 kB / 0.5289 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/1.685, allocations: 0.6812 MB / 0.5296 GB, free: 24 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/1.685, allocations: 16.88 kB / 0.5296 GB, free: 8 kB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/1.685, allocations: 0 / 0.5296 GB, free: 8 kB / 414.1 MB Notification: Performance of Templates: time 0.005006/1.69, allocations: 3.559 MB / 0.5331 GB, free: 12.61 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)