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.853/0.853, allocations: 150.9 MB / 167.1 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 11.98 kB / 206 MB, free: 9.059 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 31.33 MB / 237.3 MB, free: 5.707 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.581/1.717, allocations: 293.7 MB / 0.5185 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03175/1.749, allocations: 30.43 MB / 0.5483 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/1.749, allocations: 4 kB / 0.5483 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/1.749, allocations: 147.3 kB / 0.5484 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/1.75, allocations: 44.7 kB / 0.5484 GB, free: 15.47 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01913/1.769, allocations: 8.05 MB / 0.5563 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/1.769, allocations: 135.4 kB / 0.5564 GB, free: 7.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/1.769, allocations: 17.05 kB / 0.5565 GB, free: 7.285 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/1.769, allocations: 75.53 kB / 0.5565 GB, free: 7.211 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/1.769, allocations: 43.78 kB / 0.5566 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/1.769, allocations: 0 / 0.5566 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02444/1.794, allocations: 14.7 MB / 0.5709 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/1.794, allocations: 11.92 kB / 0.5709 GB, free: 8.441 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.007e-05/1.794, allocations: 47.73 kB / 0.571 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/1.807, allocations: 7.26 MB / 0.5781 GB, free: 1.117 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.807, allocations: 0 / 0.5781 GB, free: 1.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.096e-06/1.807, allocations: 4 kB / 0.5781 GB, free: 1.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/1.807, allocations: 0 / 0.5781 GB, free: 1.113 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.002522/1.81, allocations: 1.146 MB / 0.5792 GB, free: 15.92 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.81, allocations: 12.03 kB / 0.5792 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/1.81, allocations: 11.84 kB / 0.5792 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.81, allocations: 170.9 kB / 0.5794 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/1.81, allocations: 11.88 kB / 0.5794 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/1.81, allocations: 13.69 kB / 0.5794 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/1.81, allocations: 85.67 kB / 0.5795 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/1.81, allocations: 3.938 kB / 0.5795 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/1.81, allocations: 7.984 kB / 0.5795 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.81, allocations: 4 kB / 0.5795 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/1.81, allocations: 111.8 kB / 0.5796 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/1.811, allocations: 213.5 kB / 0.5798 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/1.811, allocations: 106.5 kB / 0.5799 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/1.811, allocations: 76.84 kB / 0.58 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1114/1.922, allocations: 56.41 MB / 0.6351 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/1.922, allocations: 32.06 kB / 0.6351 GB, free: 448 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.605e-06/1.922, allocations: 0 / 0.6351 GB, free: 448 kB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.000408/1.923, allocations: 231.2 kB / 0.6353 GB, free: 212 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/1.923, allocations: 55.34 kB / 0.6354 GB, free: 144 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/1.923, allocations: 97.86 kB / 0.6355 GB, free: 36 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/1.923, allocations: 25.7 kB / 0.6355 GB, free: 4 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/1.923, allocations: 88.69 kB / 0.6356 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/1.923, allocations: 98.5 kB / 0.6357 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/1.923, allocations: 37.64 kB / 0.6357 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/1.923, allocations: 326.8 kB / 0.636 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/1.923, allocations: 43.98 kB / 0.6361 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/1.923, allocations: 47.98 kB / 0.6361 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/1.923, allocations: 128.8 kB / 0.6362 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.923, allocations: 3.938 kB / 0.6362 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000229/1.924, allocations: 169.8 kB / 0.6364 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.924, allocations: 8 kB / 0.6364 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.924, allocations: 0 / 0.6364 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/1.924, allocations: 0 / 0.6364 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/1.924, allocations: 19.98 kB / 0.6364 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.924, allocations: 3.984 kB / 0.6364 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/1.924, allocations: 15.84 kB / 0.6364 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/1.924, allocations: 0 / 0.6364 GB, free: 15 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.691e-05/1.924, allocations: 117.8 kB / 0.6365 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/1.924, allocations: 11.81 kB / 0.6366 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/1.924, allocations: 215.3 kB / 0.6368 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/1.924, allocations: 0 / 0.6368 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.924, allocations: 5.453 kB / 0.6368 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.924, allocations: 0 / 0.6368 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/1.924, allocations: 225.3 kB / 0.637 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.924, allocations: 0 / 0.637 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/1.925, allocations: 15.98 kB / 0.637 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/1.925, allocations: 0 / 0.637 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.925, allocations: 12 kB / 0.637 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.925, allocations: 0 / 0.637 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.925, allocations: 0 / 0.637 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/1.925, allocations: 200.9 kB / 0.6372 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/1.925, allocations: 96.84 kB / 0.6373 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/1.925, allocations: 8 kB / 0.6373 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.119e-05/1.925, allocations: 0 / 0.6373 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/1.925, allocations: 7.984 kB / 0.6373 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/1.925, allocations: 0 / 0.6373 GB, free: 14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.58e-05/1.925, allocations: 84.97 kB / 0.6374 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.925, allocations: 4 kB / 0.6374 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002187/1.927, allocations: 1.007 MB / 0.6384 GB, free: 12.91 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.004185/1.931, allocations: 1.54 MB / 0.6399 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000236/1.932, allocations: 149.4 kB / 0.64 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.932, allocations: 4 kB / 0.64 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.2e-05/1.932, allocations: 79.91 kB / 0.6401 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/1.932, allocations: 40.58 kB / 0.6401 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/1.933, allocations: 316.4 kB / 0.6404 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/1.933, allocations: 0.7041 MB / 0.6411 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.267e-05/1.933, allocations: 16.66 kB / 0.6411 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/1.933, allocations: 15.42 kB / 0.6412 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/1.933, allocations: 0 / 0.6412 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.0461/1.979, allocations: 36.31 MB / 0.6766 GB, free: 5.691 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 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)