Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.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_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7921/0.7921, allocations: 150.9 MB / 166 MB, free: 14.64 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 15.98 kB / 204 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 31.33 MB / 235.4 MB, free: 5.477 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_p): time 1.502/1.657, allocations: 291.9 MB / 0.5149 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03549/1.693, allocations: 32.97 MB / 0.5471 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/1.693, allocations: 0 / 0.5471 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/1.693, allocations: 103.6 kB / 0.5472 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/1.693, allocations: 39.73 kB / 0.5472 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01617/1.71, allocations: 6.117 MB / 0.5532 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/1.71, allocations: 119.4 kB / 0.5533 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.058e-05/1.71, allocations: 29.03 kB / 0.5533 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/1.71, allocations: 59.61 kB / 0.5534 GB, free: 7.344 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.189e-05/1.71, allocations: 39.78 kB / 0.5534 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/1.71, allocations: 7.938 kB / 0.5534 GB, free: 7.297 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0227/1.733, allocations: 14.64 MB / 0.5677 GB, free: 8.641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/1.733, allocations: 19.86 kB / 0.5677 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/1.733, allocations: 39.75 kB / 0.5678 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/1.748, allocations: 7.279 MB / 0.5749 GB, free: 1.285 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.748, allocations: 0 / 0.5749 GB, free: 1.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/1.748, allocations: 0 / 0.5749 GB, free: 1.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/1.748, allocations: 0 / 0.5749 GB, free: 1.285 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002956/1.751, allocations: 1.15 MB / 0.576 GB, free: 88 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/1.751, allocations: 8.031 kB / 0.576 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/1.751, allocations: 11.84 kB / 0.576 GB, free: 68 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/1.751, allocations: 182.8 kB / 0.5762 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/1.751, allocations: 4 kB / 0.5762 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/1.751, allocations: 12 kB / 0.5762 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/1.752, allocations: 91.14 kB / 0.5763 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/1.752, allocations: 0 / 0.5763 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.752, allocations: 4 kB / 0.5763 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/1.752, allocations: 7.984 kB / 0.5763 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/1.752, allocations: 115.8 kB / 0.5764 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/1.752, allocations: 221.4 kB / 0.5766 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/1.752, allocations: 102.5 kB / 0.5767 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/1.752, allocations: 76.83 kB / 0.5768 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1049/1.857, allocations: 56.05 MB / 0.6315 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/1.857, allocations: 30.56 kB / 0.6316 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/1.857, allocations: 0 / 0.6316 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.0004089/1.857, allocations: 233.4 kB / 0.6318 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/1.858, allocations: 51.41 kB / 0.6318 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.368e-05/1.858, allocations: 105.8 kB / 0.6319 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/1.858, allocations: 25.7 kB / 0.632 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/1.858, allocations: 88.7 kB / 0.6321 GB, free: 436 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/1.858, allocations: 94.48 kB / 0.6321 GB, free: 340 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/1.858, allocations: 33.7 kB / 0.6322 GB, free: 300 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.858, allocations: 326.8 kB / 0.6325 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/1.858, allocations: 43.98 kB / 0.6325 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/1.858, allocations: 47.97 kB / 0.6326 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/1.858, allocations: 133.8 kB / 0.6327 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/1.858, allocations: 3.938 kB / 0.6327 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001975/1.858, allocations: 165.5 kB / 0.6329 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.858, allocations: 7.984 kB / 0.6329 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.858, allocations: 3.938 kB / 0.6329 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.858, allocations: 0 / 0.6329 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/1.859, allocations: 16 kB / 0.6329 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/1.859, allocations: 0 / 0.6329 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/1.859, allocations: 11.84 kB / 0.6329 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/1.859, allocations: 4 kB / 0.6329 GB, free: 15.53 MB / 0.5294 GB 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): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.993e-05/1.859, allocations: 129.7 kB / 0.633 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/1.859, allocations: 11.81 kB / 0.633 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/1.859, allocations: 205 kB / 0.6332 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.859, allocations: 7.984 kB / 0.6332 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.859, allocations: 4 kB / 0.6332 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.859, allocations: 4 kB / 0.6333 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/1.859, allocations: 221.4 kB / 0.6335 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.859, allocations: 0 / 0.6335 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/1.859, allocations: 18.09 kB / 0.6335 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.859, allocations: 0 / 0.6335 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/1.859, allocations: 11.98 kB / 0.6335 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.859, allocations: 0 / 0.6335 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.859, allocations: 0 / 0.6335 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/1.86, allocations: 200.9 kB / 0.6337 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/1.86, allocations: 92.86 kB / 0.6338 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/1.86, allocations: 15.94 kB / 0.6338 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/1.86, allocations: 0 / 0.6338 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/1.86, allocations: 7.984 kB / 0.6338 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/1.86, allocations: 4 kB / 0.6338 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.091e-05/1.86, allocations: 79.28 kB / 0.6339 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.86, allocations: 0 / 0.6339 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002293/1.862, allocations: 1.007 MB / 0.6349 GB, free: 13.43 MB / 0.5294 GB 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003886/1.866, allocations: 1.613 MB / 0.6364 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000238/1.866, allocations: 131.9 kB / 0.6366 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.866, allocations: 0 / 0.6366 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.402e-05/1.866, allocations: 83.91 kB / 0.6366 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/1.867, allocations: 47.39 kB / 0.6367 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/1.867, allocations: 363.2 kB / 0.637 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/1.868, allocations: 0.708 MB / 0.6377 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.73e-05/1.868, allocations: 16.64 kB / 0.6377 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/1.868, allocations: 15.44 kB / 0.6378 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/1.868, allocations: 0 / 0.6378 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.0431/1.911, allocations: 36.57 MB / 0.6735 GB, free: 5.832 MB / 0.5606 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)