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.8133/0.8133, allocations: 150.9 MB / 166.5 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 15.92 kB / 237.1 MB, free: 1.809 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05148/0.05179, allocations: 31.35 MB / 268.4 MB, free: 7.07 MB / 222.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.61/1.661, allocations: 293.9 MB / 0.5491 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03291/1.694, allocations: 30.42 MB / 0.5789 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/1.695, allocations: 4 kB / 0.5789 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/1.695, allocations: 147 kB / 0.579 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/1.695, allocations: 35.75 kB / 0.579 GB, free: 15.06 MB / 478.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.01845/1.713, allocations: 8.067 MB / 0.5869 GB, free: 6.977 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/1.714, allocations: 131.3 kB / 0.587 GB, free: 6.848 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/1.714, allocations: 21.05 kB / 0.5871 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/1.714, allocations: 71.53 kB / 0.5871 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/1.714, allocations: 35.8 kB / 0.5872 GB, free: 6.719 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/1.714, allocations: 0 / 0.5872 GB, free: 6.719 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02301/1.737, allocations: 14.71 MB / 0.6015 GB, free: 7.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/1.737, allocations: 15.92 kB / 0.6015 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.54e-05/1.737, allocations: 35.75 kB / 0.6016 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01349/1.751, allocations: 7.256 MB / 0.6087 GB, free: 0.668 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.751, allocations: 0 / 0.6087 GB, free: 0.668 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/1.751, allocations: 0 / 0.6087 GB, free: 0.668 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/1.751, allocations: 0 / 0.6087 GB, free: 0.668 MB / 494.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.002725/1.753, allocations: 1.154 MB / 0.6098 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/1.753, allocations: 15.97 kB / 0.6098 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/1.753, allocations: 7.844 kB / 0.6098 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/1.754, allocations: 167 kB / 0.61 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/1.754, allocations: 8 kB / 0.61 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/1.754, allocations: 4 kB / 0.61 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/1.754, allocations: 97.53 kB / 0.6101 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/1.754, allocations: 0 / 0.6101 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/1.754, allocations: 4 kB / 0.6101 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/1.754, allocations: 11.97 kB / 0.6101 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/1.754, allocations: 111.8 kB / 0.6102 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/1.754, allocations: 217.5 kB / 0.6104 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/1.754, allocations: 102.5 kB / 0.6105 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/1.754, allocations: 68.78 kB / 0.6106 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1196/1.874, allocations: 56.41 MB / 0.6656 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/1.874, allocations: 34.64 kB / 0.6657 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/1.874, allocations: 0 / 0.6657 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.0003976/1.875, allocations: 222.3 kB / 0.6659 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.875, allocations: 59.41 kB / 0.666 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.304e-05/1.875, allocations: 97.84 kB / 0.666 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/1.875, allocations: 33.64 kB / 0.6661 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/1.875, allocations: 80.7 kB / 0.6662 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/1.875, allocations: 102.4 kB / 0.6663 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/1.875, allocations: 33.7 kB / 0.6663 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/1.875, allocations: 322.8 kB / 0.6666 GB, free: 15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/1.875, allocations: 51.91 kB / 0.6666 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/1.875, allocations: 51.98 kB / 0.6667 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/1.875, allocations: 124.8 kB / 0.6668 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.875, allocations: 3.938 kB / 0.6668 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002088/1.875, allocations: 181.7 kB / 0.667 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.875, allocations: 5.406 kB / 0.667 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.875, allocations: 0 / 0.667 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/1.876, allocations: 0 / 0.667 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/1.876, allocations: 15.94 kB / 0.667 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/1.876, allocations: 4 kB / 0.667 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/1.876, allocations: 15.83 kB / 0.667 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.876, allocations: 4 kB / 0.667 GB, free: 14.54 MB / 0.5606 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.568e-05/1.876, allocations: 117.8 kB / 0.6671 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/1.876, allocations: 11.91 kB / 0.6672 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/1.876, allocations: 206.6 kB / 0.6673 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.876, allocations: 3.984 kB / 0.6674 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.876, allocations: 0 / 0.6674 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.876, allocations: 0 / 0.6674 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/1.876, allocations: 221.4 kB / 0.6676 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.876, allocations: 4 kB / 0.6676 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/1.876, allocations: 19.98 kB / 0.6676 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.876, allocations: 0 / 0.6676 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/1.876, allocations: 0 / 0.6676 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.876, allocations: 4 kB / 0.6676 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/1.876, allocations: 0 / 0.6676 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/1.877, allocations: 208.7 kB / 0.6678 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/1.877, allocations: 88.95 kB / 0.6679 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/1.877, allocations: 4 kB / 0.6679 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.313e-05/1.877, allocations: 4 kB / 0.6679 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/1.877, allocations: 11.98 kB / 0.6679 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/1.877, allocations: 0 / 0.6679 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.482e-05/1.877, allocations: 83.45 kB / 0.668 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.877, allocations: 0 / 0.668 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002208/1.879, allocations: 1.003 MB / 0.669 GB, free: 12.47 MB / 0.5606 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.003737/1.883, allocations: 1.556 MB / 0.6705 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002298/1.883, allocations: 139.8 kB / 0.6706 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.883, allocations: 3.938 kB / 0.6706 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/1.883, allocations: 71.92 kB / 0.6707 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/1.884, allocations: 62.23 kB / 0.6707 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/1.884, allocations: 315.1 kB / 0.671 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/1.884, allocations: 0.7157 MB / 0.6717 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.65e-05/1.884, allocations: 12.66 kB / 0.6717 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/1.884, allocations: 15.44 kB / 0.6718 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/1.884, allocations: 0 / 0.6718 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of Templates: time 0.0419/1.926, allocations: 36.33 MB / 0.7072 GB, free: 5.18 MB / 0.5919 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)