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.7499/0.7499, allocations: 150.9 MB / 167.2 MB, free: 14.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 15.02 kB / 237.7 MB, free: 1.828 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04481/0.04514, allocations: 31.36 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_h): time 1.443/1.488, allocations: 293.9 MB / 0.5498 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03011/1.518, allocations: 30.04 MB / 0.5791 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/1.518, allocations: 0 / 0.5791 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/1.518, allocations: 148.3 kB / 0.5793 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.886e-05/1.519, allocations: 39.69 kB / 0.5793 GB, free: 15.46 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.01583/1.534, allocations: 7.974 MB / 0.5871 GB, free: 7.477 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/1.535, allocations: 123.5 kB / 0.5872 GB, free: 7.355 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/1.535, allocations: 19.97 kB / 0.5872 GB, free: 7.336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/1.535, allocations: 67.55 kB / 0.5873 GB, free: 7.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/1.535, allocations: 35.8 kB / 0.5873 GB, free: 7.234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/1.535, allocations: 0 / 0.5873 GB, free: 7.234 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02199/1.557, allocations: 14.66 MB / 0.6016 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/1.557, allocations: 7.938 kB / 0.6016 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/1.557, allocations: 39.75 kB / 0.6017 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/1.569, allocations: 7.194 MB / 0.6087 GB, free: 1.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.569, allocations: 0 / 0.6087 GB, free: 1.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/1.569, allocations: 0 / 0.6087 GB, free: 1.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/1.569, allocations: 0 / 0.6087 GB, free: 1.301 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.002627/1.572, allocations: 1.135 MB / 0.6098 GB, free: 120 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.572, allocations: 12.03 kB / 0.6098 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/1.572, allocations: 15.75 kB / 0.6098 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/1.572, allocations: 171 kB / 0.61 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/1.572, allocations: 4 kB / 0.61 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/1.572, allocations: 4 kB / 0.61 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/1.572, allocations: 127.5 kB / 0.6101 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/1.572, allocations: 4 kB / 0.6101 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.572, allocations: 4 kB / 0.6101 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/1.572, allocations: 7.938 kB / 0.6102 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/1.572, allocations: 59.84 kB / 0.6102 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03576/1.608, allocations: 15.58 MB / 0.6254 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/1.608, allocations: 82.56 kB / 0.6255 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/1.608, allocations: 56.84 kB / 0.6256 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07434/1.683, allocations: 40.65 MB / 0.6653 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/1.683, allocations: 34.56 kB / 0.6653 GB, free: 1.223 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 3.636e-06/1.683, allocations: 3.984 kB / 0.6653 GB, free: 1.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0003164/1.683, allocations: 188.8 kB / 0.6655 GB, free: 1.031 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/1.683, allocations: 59.34 kB / 0.6655 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/1.683, allocations: 117.8 kB / 0.6656 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/1.683, allocations: 25.7 kB / 0.6657 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/1.683, allocations: 100.7 kB / 0.6658 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/1.683, allocations: 78.83 kB / 0.6658 GB, free: 0.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/1.683, allocations: 33.7 kB / 0.6659 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/1.683, allocations: 322.8 kB / 0.6662 GB, free: 268 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/1.683, allocations: 44.16 kB / 0.6662 GB, free: 224 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-05/1.683, allocations: 85.59 kB / 0.6663 GB, free: 120 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/1.684, allocations: 153 kB / 0.6664 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.684, allocations: 0 / 0.6664 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002157/1.684, allocations: 172.5 kB / 0.6666 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.684, allocations: 4 kB / 0.6666 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.684, allocations: 0 / 0.6666 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/1.684, allocations: 4 kB / 0.6666 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.77e-05/1.684, allocations: 15.98 kB / 0.6666 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.684, allocations: 4.094 kB / 0.6666 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/1.684, allocations: 19.84 kB / 0.6667 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/1.684, allocations: 4 kB / 0.6667 GB, free: 15.73 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.381e-05/1.684, allocations: 117.8 kB / 0.6668 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/1.684, allocations: 11.81 kB / 0.6668 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/1.684, allocations: 162.2 kB / 0.6669 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/1.684, allocations: 3.938 kB / 0.6669 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.684, allocations: 3.938 kB / 0.6669 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/1.684, allocations: 0 / 0.6669 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/1.685, allocations: 205.6 kB / 0.6671 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.685, allocations: 192 / 0.6671 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/1.685, allocations: 8 kB / 0.6671 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.685, allocations: 0 / 0.6671 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/1.685, allocations: 3.938 kB / 0.6672 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.685, allocations: 4 kB / 0.6672 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.685, allocations: 7.922 kB / 0.6672 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/1.685, allocations: 167.6 kB / 0.6673 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/1.685, allocations: 89.02 kB / 0.6674 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/1.685, allocations: 0 / 0.6674 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.66e-05/1.685, allocations: 0 / 0.6674 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/1.685, allocations: 11.94 kB / 0.6674 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/1.685, allocations: 0 / 0.6674 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.105e-05/1.685, allocations: 95.3 kB / 0.6675 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/1.685, allocations: 0 / 0.6675 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001868/1.687, allocations: 0.9799 MB / 0.6685 GB, free: 13.78 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.003709/1.691, allocations: 1.518 MB / 0.6699 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001763/1.691, allocations: 115.9 kB / 0.6701 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.691, allocations: 0 / 0.6701 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.468e-05/1.691, allocations: 59.97 kB / 0.6701 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/1.691, allocations: 49.89 kB / 0.6702 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/1.692, allocations: 304.9 kB / 0.6705 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/1.692, allocations: 0.7078 MB / 0.6711 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/1.692, allocations: 23.38 kB / 0.6712 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/1.692, allocations: 0 / 0.6712 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.02285/1.715, allocations: 18.93 MB / 0.6897 GB, free: 7.977 MB / 0.5762 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)