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.739/0.739, allocations: 150.9 MB / 167.2 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 14.58 kB / 237.7 MB, free: 1.805 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04589/0.04623, allocations: 31.35 MB / 269.1 MB, free: 7.062 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.43/1.476, allocations: 293.9 MB / 0.5498 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03071/1.507, allocations: 30.43 MB / 0.5795 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/1.507, allocations: 4 kB / 0.5795 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/1.507, allocations: 139.2 kB / 0.5797 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.276e-05/1.507, allocations: 39.69 kB / 0.5797 GB, free: 15.21 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.01586/1.523, allocations: 8.062 MB / 0.5876 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/1.523, allocations: 127.4 kB / 0.5877 GB, free: 7.016 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/1.524, allocations: 25.02 kB / 0.5877 GB, free: 6.988 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.832e-05/1.524, allocations: 75.48 kB / 0.5878 GB, free: 6.914 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/1.524, allocations: 35.8 kB / 0.5878 GB, free: 6.879 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/1.524, allocations: 3.984 kB / 0.5878 GB, free: 6.875 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02037/1.544, allocations: 14.7 MB / 0.6022 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/1.544, allocations: 11.92 kB / 0.6022 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/1.544, allocations: 39.75 kB / 0.6022 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009409/1.554, allocations: 7.26 MB / 0.6093 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.554, allocations: 0 / 0.6093 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/1.554, allocations: 0 / 0.6093 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/1.554, allocations: 4 kB / 0.6093 GB, free: 0.8242 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.002567/1.556, allocations: 1.15 MB / 0.6104 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/1.556, allocations: 12.03 kB / 0.6105 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/1.556, allocations: 11.84 kB / 0.6105 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/1.556, allocations: 167 kB / 0.6106 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/1.556, allocations: 8 kB / 0.6106 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/1.556, allocations: 4 kB / 0.6106 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/1.557, allocations: 89.59 kB / 0.6107 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/1.557, allocations: 3.938 kB / 0.6107 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/1.557, allocations: 8 kB / 0.6107 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.557, allocations: 4 kB / 0.6107 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/1.557, allocations: 115.8 kB / 0.6109 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/1.557, allocations: 221.5 kB / 0.6111 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/1.557, allocations: 106.5 kB / 0.6112 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/1.557, allocations: 72.84 kB / 0.6112 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1117/1.669, allocations: 56.4 MB / 0.6663 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/1.669, allocations: 34.56 kB / 0.6664 GB, free: 148 kB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/1.669, allocations: 4 kB / 0.6664 GB, free: 144 kB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.0003441/1.669, allocations: 222.3 kB / 0.6666 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/1.669, allocations: 51.41 kB / 0.6666 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.046e-05/1.669, allocations: 101.8 kB / 0.6667 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/1.669, allocations: 25.7 kB / 0.6667 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/1.67, allocations: 88.7 kB / 0.6668 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/1.67, allocations: 94.48 kB / 0.6669 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/1.67, allocations: 37.7 kB / 0.6669 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.67, allocations: 326.8 kB / 0.6673 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/1.67, allocations: 51.92 kB / 0.6673 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/1.67, allocations: 56.02 kB / 0.6674 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/1.67, allocations: 124.8 kB / 0.6675 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.67, allocations: 3.938 kB / 0.6675 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001957/1.67, allocations: 169.7 kB / 0.6676 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.67, allocations: 7.984 kB / 0.6677 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/1.67, allocations: 0 / 0.6677 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/1.67, allocations: 0 / 0.6677 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.86e-05/1.67, allocations: 19.94 kB / 0.6677 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.67, allocations: 4 kB / 0.6677 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/1.67, allocations: 11.84 kB / 0.6677 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/1.67, allocations: 4 kB / 0.6677 GB, free: 14.7 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.27e-05/1.671, allocations: 121.8 kB / 0.6678 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/1.671, allocations: 7.906 kB / 0.6678 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/1.671, allocations: 206.6 kB / 0.668 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/1.671, allocations: 4 kB / 0.668 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.671, allocations: 3.984 kB / 0.668 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.671, allocations: 8 kB / 0.668 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/1.671, allocations: 221.4 kB / 0.6682 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.671, allocations: 0 / 0.6682 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/1.671, allocations: 12 kB / 0.6683 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.671, allocations: 3.938 kB / 0.6683 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/1.671, allocations: 7.984 kB / 0.6683 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.671, allocations: 4 kB / 0.6683 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.671, allocations: 0 / 0.6683 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/1.671, allocations: 204.8 kB / 0.6685 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/1.671, allocations: 92.89 kB / 0.6685 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/1.671, allocations: 8 kB / 0.6686 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.85e-05/1.671, allocations: 0 / 0.6686 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/1.671, allocations: 7.984 kB / 0.6686 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/1.671, allocations: 4 kB / 0.6686 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.945e-05/1.672, allocations: 79.28 kB / 0.6686 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/1.672, allocations: 0 / 0.6686 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001793/1.673, allocations: 1.007 MB / 0.6696 GB, free: 12.62 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.003624/1.677, allocations: 1.545 MB / 0.6711 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002005/1.677, allocations: 143.8 kB / 0.6713 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.677, allocations: 0 / 0.6713 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.913e-05/1.677, allocations: 79.91 kB / 0.6714 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/1.678, allocations: 49.25 kB / 0.6714 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/1.678, allocations: 348.8 kB / 0.6717 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/1.678, allocations: 0.704 MB / 0.6724 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/1.678, allocations: 19.42 kB / 0.6724 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/1.678, allocations: 0 / 0.6724 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.02295/1.701, allocations: 19.37 MB / 0.6913 GB, free: 6.285 MB / 0.5762 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)