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.7327/0.7327, allocations: 150.9 MB / 167.1 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 18.19 kB / 237.7 MB, free: 1.816 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04815/0.04847, allocations: 31.35 MB / 269 MB, free: 7.098 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.413/1.462, allocations: 293.7 MB / 0.5496 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02981/1.491, allocations: 30.41 MB / 0.5793 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/1.491, allocations: 0 / 0.5793 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/1.492, allocations: 147.3 kB / 0.5794 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.171e-05/1.492, allocations: 39.69 kB / 0.5795 GB, free: 15.26 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.01728/1.509, allocations: 8.066 MB / 0.5873 GB, free: 7.176 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/1.509, allocations: 127.4 kB / 0.5875 GB, free: 7.051 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.152e-05/1.509, allocations: 25.03 kB / 0.5875 GB, free: 7.023 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/1.51, allocations: 71.53 kB / 0.5875 GB, free: 6.953 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/1.51, allocations: 43.78 kB / 0.5876 GB, free: 6.91 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/1.51, allocations: 0 / 0.5876 GB, free: 6.91 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02167/1.531, allocations: 14.69 MB / 0.6019 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/1.531, allocations: 11.94 kB / 0.6019 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.123e-05/1.531, allocations: 43.73 kB / 0.602 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/1.545, allocations: 7.26 MB / 0.6091 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.545, allocations: 3.938 kB / 0.6091 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/1.545, allocations: 0 / 0.6091 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/1.545, allocations: 0 / 0.6091 GB, free: 0.8633 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.002327/1.547, allocations: 1.15 MB / 0.6102 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/1.547, allocations: 12.03 kB / 0.6102 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/1.547, allocations: 15.84 kB / 0.6102 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/1.547, allocations: 167 kB / 0.6104 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/1.547, allocations: 15.94 kB / 0.6104 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/1.547, allocations: 4 kB / 0.6104 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/1.547, allocations: 85.67 kB / 0.6105 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/1.547, allocations: 0 / 0.6105 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/1.547, allocations: 3.984 kB / 0.6105 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.547, allocations: 7.984 kB / 0.6105 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/1.547, allocations: 115.8 kB / 0.6106 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/1.548, allocations: 225.4 kB / 0.6108 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/1.548, allocations: 110.5 kB / 0.6109 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/1.548, allocations: 72.84 kB / 0.611 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1096/1.657, allocations: 56.4 MB / 0.6661 GB, free: 224 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/1.658, allocations: 34.56 kB / 0.6661 GB, free: 180 kB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/1.658, allocations: 0 / 0.6661 GB, free: 180 kB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.0003841/1.658, allocations: 222.3 kB / 0.6663 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/1.658, allocations: 59.34 kB / 0.6664 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.353e-05/1.658, allocations: 97.86 kB / 0.6665 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.658, allocations: 25.7 kB / 0.6665 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/1.658, allocations: 92.69 kB / 0.6666 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.705e-05/1.658, allocations: 98.55 kB / 0.6667 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/1.658, allocations: 33.7 kB / 0.6667 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.41e-05/1.658, allocations: 322.8 kB / 0.667 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/1.658, allocations: 39.98 kB / 0.6671 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/1.658, allocations: 55.98 kB / 0.6671 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/1.659, allocations: 120.8 kB / 0.6672 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.659, allocations: 3.938 kB / 0.6672 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002092/1.659, allocations: 177.6 kB / 0.6674 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.659, allocations: 8 kB / 0.6674 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.659, allocations: 0 / 0.6674 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.659, allocations: 3.938 kB / 0.6674 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/1.659, allocations: 23.98 kB / 0.6674 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.659, allocations: 3.984 kB / 0.6674 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/1.659, allocations: 7.844 kB / 0.6674 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/1.659, allocations: 4 kB / 0.6675 GB, free: 14.74 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.666e-05/1.659, allocations: 117.8 kB / 0.6676 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/1.659, allocations: 7.906 kB / 0.6676 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/1.659, allocations: 214.6 kB / 0.6678 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/1.659, allocations: 0 / 0.6678 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.659, allocations: 0 / 0.6678 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.659, allocations: 4 kB / 0.6678 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/1.66, allocations: 221.4 kB / 0.668 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.66, allocations: 0 / 0.668 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/1.66, allocations: 19.98 kB / 0.668 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/1.66, allocations: 0 / 0.668 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/1.66, allocations: 0 / 0.668 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/1.66, allocations: 4 kB / 0.668 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.66, allocations: 4 kB / 0.668 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/1.66, allocations: 212.7 kB / 0.6682 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/1.66, allocations: 92.94 kB / 0.6683 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/1.66, allocations: 0 / 0.6683 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.846e-05/1.66, allocations: 4 kB / 0.6683 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/1.66, allocations: 11.98 kB / 0.6683 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/1.66, allocations: 0 / 0.6683 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.094e-05/1.66, allocations: 83.31 kB / 0.6684 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.66, allocations: 4 kB / 0.6684 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002046/1.662, allocations: 1.007 MB / 0.6694 GB, free: 12.65 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.003932/1.666, allocations: 1.546 MB / 0.6709 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002149/1.666, allocations: 147.8 kB / 0.671 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.666, allocations: 0 / 0.671 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/1.666, allocations: 79.91 kB / 0.6711 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/1.667, allocations: 43.95 kB / 0.6712 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/1.667, allocations: 340.8 kB / 0.6715 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/1.668, allocations: 0.7118 MB / 0.6722 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/1.668, allocations: 15.44 kB / 0.6722 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/1.668, allocations: 4 kB / 0.6722 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of Templates: time 0.02426/1.692, allocations: 19.35 MB / 0.6911 GB, free: 6.336 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)