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.8121/0.8121, allocations: 150.9 MB / 167.1 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 15.97 kB / 205.9 MB, free: 9.055 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1328, allocations: 31.33 MB / 237.3 MB, free: 5.727 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.549/1.682, allocations: 293.4 MB / 0.5183 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004052/1.686, allocations: 3.697 MB / 0.5219 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/1.686, allocations: 0 / 0.5219 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/1.686, allocations: 5.219 kB / 0.5219 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/1.686, allocations: 15.84 kB / 0.5219 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/1.688, allocations: 0.7254 MB / 0.5226 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.036e-05/1.688, allocations: 51.72 kB / 0.5227 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/1.688, allocations: 24.45 kB / 0.5227 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/1.688, allocations: 19.94 kB / 0.5227 GB, free: 9.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/1.688, allocations: 32.42 kB / 0.5227 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/1.688, allocations: 4.5 kB / 0.5227 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/1.689, allocations: 0.6058 MB / 0.5233 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/1.689, allocations: 11.92 kB / 0.5233 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/1.689, allocations: 25.95 kB / 0.5234 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008671/1.69, allocations: 0.6118 MB / 0.524 GB, free: 8.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.69, allocations: 0 / 0.524 GB, free: 8.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/1.69, allocations: 0 / 0.524 GB, free: 8.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/1.69, allocations: 0 / 0.524 GB, free: 8.496 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.0004844/1.691, allocations: 437.5 kB / 0.5244 GB, free: 8.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/1.691, allocations: 8.031 kB / 0.5244 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/1.691, allocations: 7.906 kB / 0.5244 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/1.691, allocations: 167 kB / 0.5246 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.691, allocations: 4 kB / 0.5246 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/1.691, allocations: 8.5 kB / 0.5246 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/1.691, allocations: 66.66 kB / 0.5246 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/1.691, allocations: 0 / 0.5246 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/1.691, allocations: 0 / 0.5246 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.691, allocations: 5.094 kB / 0.5246 GB, free: 7.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/1.691, allocations: 70.61 kB / 0.5247 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/1.692, allocations: 439.5 kB / 0.5251 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/1.692, allocations: 69.06 kB / 0.5252 GB, free: 7.062 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/1.692, allocations: 24.84 kB / 0.5252 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002526/1.694, allocations: 3.303 MB / 0.5284 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.694, allocations: 36.69 kB / 0.5285 GB, free: 2.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/1.694, allocations: 0 / 0.5285 GB, free: 2.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002469/1.695, allocations: 105.7 kB / 0.5286 GB, free: 2.863 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/1.695, allocations: 52.28 kB / 0.5286 GB, free: 2.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/1.695, allocations: 109.8 kB / 0.5287 GB, free: 2.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/1.695, allocations: 32.02 kB / 0.5288 GB, free: 2.648 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/1.695, allocations: 88.05 kB / 0.5288 GB, free: 2.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/1.695, allocations: 39.44 kB / 0.5289 GB, free: 2.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/1.695, allocations: 25.7 kB / 0.5289 GB, free: 2.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.318e-05/1.695, allocations: 318.8 kB / 0.5292 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/1.695, allocations: 18.33 kB / 0.5292 GB, free: 2.152 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/1.695, allocations: 19.98 kB / 0.5292 GB, free: 2.133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.376e-05/1.695, allocations: 60.84 kB / 0.5293 GB, free: 2.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.695, allocations: 0 / 0.5293 GB, free: 2.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000155/1.695, allocations: 89.67 kB / 0.5294 GB, free: 1.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.695, allocations: 9.562 kB / 0.5294 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/1.695, allocations: 0 / 0.5294 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.695, allocations: 3.938 kB / 0.5294 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/1.696, allocations: 19.98 kB / 0.5294 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.696, allocations: 1.875 kB / 0.5294 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/1.696, allocations: 11.84 kB / 0.5294 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/1.696, allocations: 0 / 0.5294 GB, free: 1.934 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.751e-05/1.696, allocations: 113.8 kB / 0.5295 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/1.696, allocations: 8.75 kB / 0.5295 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/1.696, allocations: 136.7 kB / 0.5297 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.696, allocations: 1.625 kB / 0.5297 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.696, allocations: 0 / 0.5297 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.696, allocations: 0 / 0.5297 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/1.696, allocations: 173.7 kB / 0.5298 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/1.696, allocations: 0.625 kB / 0.5298 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-05/1.696, allocations: 21.84 kB / 0.5299 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.696, allocations: 5.094 kB / 0.5299 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/1.696, allocations: 3.938 kB / 0.5299 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.696, allocations: 0 / 0.5299 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.696, allocations: 0.7812 kB / 0.5299 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/1.696, allocations: 192.5 kB / 0.5301 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/1.697, allocations: 82.05 kB / 0.5301 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/1.697, allocations: 7.938 kB / 0.5301 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/1.697, allocations: 6.219 kB / 0.5301 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/1.697, allocations: 11.92 kB / 0.5302 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/1.697, allocations: 8 kB / 0.5302 GB, free: 1.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.619e-05/1.697, allocations: 79.28 kB / 0.5302 GB, free: 1.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.697, allocations: 0 / 0.5302 GB, free: 1.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004388/1.697, allocations: 167.8 kB / 0.5304 GB, free: 0.8516 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.000653/1.698, allocations: 406.8 kB / 0.5308 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/1.698, allocations: 62.41 kB / 0.5309 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.698, allocations: 7.938 kB / 0.5309 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.926e-05/1.698, allocations: 24.5 kB / 0.5309 GB, free: 388 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/1.698, allocations: 18.98 kB / 0.5309 GB, free: 372 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/1.699, allocations: 185.5 kB / 0.5311 GB, free: 164 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/1.699, allocations: 0.6896 MB / 0.5318 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.061e-05/1.699, allocations: 13.92 kB / 0.5318 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/1.699, allocations: 19.42 kB / 0.5318 GB, free: 15.41 MB / 430.1 MB Notification: Performance of SimCode: time 2.11e-07/1.699, allocations: 1.094 kB / 0.5318 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Templates: time 0.008507/1.708, allocations: 5.343 MB / 0.537 GB, free: 10.25 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 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_d.pipe 2>&1)