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.8113/0.8113, allocations: 150.9 MB / 166.5 MB, free: 14.47 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 15.45 kB / 237.1 MB, free: 1.805 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05108/0.05143, allocations: 31.35 MB / 268.4 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.596/1.648, allocations: 293.9 MB / 0.5492 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03193/1.679, allocations: 30.02 MB / 0.5785 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/1.68, allocations: 4 kB / 0.5785 GB, free: 15.63 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004114/1.68, allocations: 195.2 kB / 0.5787 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/1.68, allocations: 51.69 kB / 0.5787 GB, free: 15.39 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.01897/1.699, allocations: 8.051 MB / 0.5866 GB, free: 7.332 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/1.699, allocations: 119.5 kB / 0.5867 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.876e-05/1.699, allocations: 19.91 kB / 0.5867 GB, free: 7.195 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/1.7, allocations: 75.53 kB / 0.5868 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/1.7, allocations: 35.8 kB / 0.5868 GB, free: 7.086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/1.7, allocations: 0 / 0.5868 GB, free: 7.086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02348/1.723, allocations: 14.65 MB / 0.6011 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/1.723, allocations: 19.91 kB / 0.6012 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.574e-05/1.723, allocations: 35.75 kB / 0.6012 GB, free: 8.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/1.738, allocations: 7.186 MB / 0.6082 GB, free: 1.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.738, allocations: 0 / 0.6082 GB, free: 1.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.893e-06/1.738, allocations: 0 / 0.6082 GB, free: 1.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/1.738, allocations: 0 / 0.6082 GB, free: 1.16 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.002985/1.741, allocations: 1.139 MB / 0.6093 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/1.741, allocations: 12.03 kB / 0.6093 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/1.741, allocations: 15.75 kB / 0.6093 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/1.741, allocations: 171 kB / 0.6095 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/1.741, allocations: 0 / 0.6095 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/1.741, allocations: 8 kB / 0.6095 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/1.741, allocations: 131.4 kB / 0.6096 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/1.741, allocations: 4 kB / 0.6096 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/1.741, allocations: 0 / 0.6096 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/1.741, allocations: 4 kB / 0.6096 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.453e-05/1.741, allocations: 67.84 kB / 0.6097 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03595/1.777, allocations: 15.57 MB / 0.6249 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/1.777, allocations: 82.61 kB / 0.625 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.879e-05/1.777, allocations: 52.84 kB / 0.6251 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07438/1.852, allocations: 40.66 MB / 0.6648 GB, free: 1.117 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/1.852, allocations: 38.56 kB / 0.6648 GB, free: 1.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 3.928e-06/1.852, allocations: 0 / 0.6648 GB, free: 1.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0003309/1.852, allocations: 184.8 kB / 0.665 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/1.852, allocations: 59.34 kB / 0.665 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/1.852, allocations: 125.7 kB / 0.6651 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/1.852, allocations: 25.7 kB / 0.6652 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/1.852, allocations: 100.3 kB / 0.6653 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/1.853, allocations: 78.83 kB / 0.6653 GB, free: 484 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/1.853, allocations: 29.7 kB / 0.6654 GB, free: 448 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/1.853, allocations: 322.8 kB / 0.6657 GB, free: 116 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/1.853, allocations: 44.22 kB / 0.6657 GB, free: 72 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.983e-05/1.853, allocations: 89.53 kB / 0.6658 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/1.853, allocations: 141.1 kB / 0.6659 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.853, allocations: 0 / 0.6659 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002248/1.853, allocations: 176.5 kB / 0.6661 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.853, allocations: 8 kB / 0.6661 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.853, allocations: 0 / 0.6661 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.853, allocations: 4 kB / 0.6661 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/1.853, allocations: 12 kB / 0.6661 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/1.853, allocations: 8.031 kB / 0.6661 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.843e-05/1.853, allocations: 15.84 kB / 0.6662 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/1.853, allocations: 11.92 kB / 0.6662 GB, free: 15.57 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.42e-05/1.854, allocations: 113.8 kB / 0.6663 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/1.854, allocations: 11.81 kB / 0.6663 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/1.854, allocations: 166.1 kB / 0.6664 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.854, allocations: 7.984 kB / 0.6665 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.854, allocations: 3.938 kB / 0.6665 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.854, allocations: 0 / 0.6665 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/1.854, allocations: 205.6 kB / 0.6667 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.854, allocations: 0 / 0.6667 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/1.854, allocations: 4 kB / 0.6667 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.854, allocations: 0 / 0.6667 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/1.854, allocations: 0 / 0.6667 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/1.854, allocations: 0 / 0.6667 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.854, allocations: 7.938 kB / 0.6667 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/1.854, allocations: 167.6 kB / 0.6668 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/1.854, allocations: 88.95 kB / 0.6669 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/1.854, allocations: 8.703 kB / 0.6669 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/1.854, allocations: 4 kB / 0.6669 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/1.854, allocations: 11.88 kB / 0.6669 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.854, allocations: 0 / 0.6669 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.55e-05/1.854, allocations: 95.2 kB / 0.667 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/1.854, allocations: 0 / 0.667 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00234/1.857, allocations: 0.9799 MB / 0.668 GB, free: 13.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 (5): * Single equations (assignments): 3 * 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.004016/1.861, allocations: 1.506 MB / 0.6695 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002097/1.861, allocations: 115.9 kB / 0.6696 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.861, allocations: 0 / 0.6696 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/1.861, allocations: 59.98 kB / 0.6696 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/1.861, allocations: 51.39 kB / 0.6697 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/1.862, allocations: 291.2 kB / 0.6699 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/1.862, allocations: 0.7039 MB / 0.6706 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.049e-05/1.862, allocations: 11.97 kB / 0.6706 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/1.862, allocations: 11.44 kB / 0.6707 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/1.862, allocations: 0 / 0.6707 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.04162/1.904, allocations: 35.7 MB / 0.7055 GB, free: 7.09 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)