Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.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_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") translateModel(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8015/0.8015, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.000379, allocations: 14.2 kB / 237.7 MB, free: 1.812 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05883/0.05923, allocations: 31.34 MB / 269.1 MB, free: 7.082 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_h): time 1.598/1.657, allocations: 293.9 MB / 0.5498 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03286/1.69, allocations: 30.04 MB / 0.5791 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/1.69, allocations: 0 / 0.5791 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/1.691, allocations: 148.3 kB / 0.5793 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.484e-05/1.691, allocations: 39.69 kB / 0.5793 GB, free: 15.5 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.01877/1.71, allocations: 7.972 MB / 0.5871 GB, free: 7.512 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/1.71, allocations: 123.4 kB / 0.5872 GB, free: 7.391 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/1.71, allocations: 15.98 kB / 0.5872 GB, free: 7.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/1.71, allocations: 63.61 kB / 0.5873 GB, free: 7.312 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/1.71, allocations: 39.78 kB / 0.5873 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/1.71, allocations: 4 kB / 0.5873 GB, free: 7.27 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02361/1.734, allocations: 14.65 MB / 0.6016 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/1.734, allocations: 7.938 kB / 0.6016 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.088e-05/1.734, allocations: 43.69 kB / 0.6017 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/1.748, allocations: 7.198 MB / 0.6087 GB, free: 1.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.748, allocations: 0 / 0.6087 GB, free: 1.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/1.748, allocations: 0 / 0.6087 GB, free: 1.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/1.748, allocations: 0 / 0.6087 GB, free: 1.34 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.003023/1.751, allocations: 1.135 MB / 0.6098 GB, free: 160 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.751, allocations: 8.031 kB / 0.6098 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/1.751, allocations: 19.73 kB / 0.6098 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/1.751, allocations: 174.9 kB / 0.61 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/1.751, allocations: 0 / 0.61 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/1.751, allocations: 12 kB / 0.61 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/1.752, allocations: 123.5 kB / 0.6101 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.752, allocations: 4 kB / 0.6101 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/1.752, allocations: 0 / 0.6101 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/1.752, allocations: 7.984 kB / 0.6102 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/1.752, allocations: 55.86 kB / 0.6102 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03722/1.789, allocations: 15.58 MB / 0.6254 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/1.789, allocations: 82.56 kB / 0.6255 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/1.789, allocations: 60.91 kB / 0.6256 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07786/1.867, allocations: 40.66 MB / 0.6653 GB, free: 1.289 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/1.867, allocations: 34.5 kB / 0.6653 GB, free: 1.246 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 2.235e-06/1.867, allocations: 0 / 0.6653 GB, free: 1.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0003514/1.868, allocations: 184.9 kB / 0.6655 GB, free: 1.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/1.868, allocations: 51.41 kB / 0.6655 GB, free: 1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/1.868, allocations: 125.7 kB / 0.6656 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/1.868, allocations: 25.7 kB / 0.6657 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/1.868, allocations: 108.3 kB / 0.6658 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/1.868, allocations: 70.86 kB / 0.6658 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.942e-05/1.868, allocations: 29.7 kB / 0.6659 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.868, allocations: 323.2 kB / 0.6662 GB, free: 304 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.574e-05/1.868, allocations: 44.16 kB / 0.6662 GB, free: 260 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.716e-05/1.868, allocations: 89.53 kB / 0.6663 GB, free: 152 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/1.868, allocations: 141 kB / 0.6664 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.868, allocations: 4 kB / 0.6664 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002448/1.869, allocations: 176.8 kB / 0.6666 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.869, allocations: 4 kB / 0.6666 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.869, allocations: 4 kB / 0.6666 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.869, allocations: 0 / 0.6666 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/1.869, allocations: 19.92 kB / 0.6666 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.869, allocations: 7.938 kB / 0.6667 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/1.869, allocations: 11.84 kB / 0.6667 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/1.869, allocations: 11.94 kB / 0.6667 GB, free: 15.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 8 * 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.876e-05/1.869, allocations: 114 kB / 0.6668 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/1.869, allocations: 15.81 kB / 0.6668 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/1.869, allocations: 162.1 kB / 0.667 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.869, allocations: 0 / 0.667 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.869, allocations: 0 / 0.667 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/1.869, allocations: 92.89 kB / 0.667 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/1.869, allocations: 192 / 0.667 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/1.869, allocations: 4 kB / 0.667 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/1.869, allocations: 7.984 kB / 0.6671 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001896/1.87, allocations: 212.8 kB / 0.6673 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002553/1.87, allocations: 317.8 kB / 0.6676 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.783e-05/1.87, allocations: 51.98 kB / 0.6676 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.713e-05/1.87, allocations: 91.27 kB / 0.6677 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Backend: time 1.142e-06/1.87, allocations: 4 kB / 0.6677 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01007/1.88, allocations: 2.455 MB / 0.6701 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0005627/1.881, allocations: 0.675 MB / 0.6708 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.2345/2.115, allocations: 56.77 MB / 0.7262 GB, free: 215.1 MB / 0.5919 GB make -j1 -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.makefile (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.sim & ./ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)