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.7342/0.7342, allocations: 150.9 MB / 167 MB, free: 14.59 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 15.98 kB / 205.2 MB, free: 9.754 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 31.33 MB / 236.5 MB, free: 5.418 MB / 190.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.397/1.52, allocations: 293.9 MB / 0.518 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03033/1.55, allocations: 30.03 MB / 0.5474 GB, free: 220 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/1.55, allocations: 0 / 0.5474 GB, free: 220 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/1.551, allocations: 143.4 kB / 0.5475 GB, free: 76 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.689e-05/1.551, allocations: 40.38 kB / 0.5475 GB, free: 36 kB / 430.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.01684/1.568, allocations: 7.974 MB / 0.5553 GB, free: 8.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/1.568, allocations: 123.5 kB / 0.5554 GB, free: 7.953 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/1.568, allocations: 24.64 kB / 0.5555 GB, free: 7.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/1.568, allocations: 67.55 kB / 0.5555 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/1.568, allocations: 35.8 kB / 0.5556 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/1.568, allocations: 4 kB / 0.5556 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02044/1.589, allocations: 14.46 MB / 0.5697 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/1.589, allocations: 7.922 kB / 0.5697 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/1.589, allocations: 47.73 kB / 0.5697 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/1.599, allocations: 7.198 MB / 0.5768 GB, free: 2.082 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/1.599, allocations: 4 kB / 0.5768 GB, free: 2.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/1.599, allocations: 0 / 0.5768 GB, free: 2.078 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/1.599, allocations: 0 / 0.5768 GB, free: 2.078 MB / 462.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.002612/1.602, allocations: 1.135 MB / 0.5779 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/1.602, allocations: 15.97 kB / 0.5779 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/1.602, allocations: 7.844 kB / 0.5779 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/1.602, allocations: 174.9 kB / 0.5781 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.602, allocations: 8 kB / 0.5781 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/1.602, allocations: 0 / 0.5781 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/1.602, allocations: 137.6 kB / 0.5782 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/1.602, allocations: 0 / 0.5782 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.602, allocations: 4 kB / 0.5782 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.602, allocations: 4 kB / 0.5782 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/1.602, allocations: 59.84 kB / 0.5783 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03557/1.638, allocations: 15.45 MB / 0.5933 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/1.638, allocations: 90.41 kB / 0.5934 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/1.638, allocations: 60.91 kB / 0.5935 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0738/1.712, allocations: 40.42 MB / 0.633 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.712, allocations: 34.5 kB / 0.633 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 2.225e-06/1.712, allocations: 0 / 0.633 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0003073/1.712, allocations: 186.1 kB / 0.6332 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/1.712, allocations: 55.34 kB / 0.6332 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/1.712, allocations: 118.1 kB / 0.6333 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/1.712, allocations: 29.7 kB / 0.6334 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/1.712, allocations: 100.3 kB / 0.6335 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/1.713, allocations: 71 kB / 0.6335 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/1.713, allocations: 41.62 kB / 0.6336 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/1.713, allocations: 318.8 kB / 0.6339 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/1.713, allocations: 48.14 kB / 0.6339 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/1.713, allocations: 90.3 kB / 0.634 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/1.713, allocations: 146.1 kB / 0.6341 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.713, allocations: 0 / 0.6341 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002166/1.713, allocations: 173.2 kB / 0.6343 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.713, allocations: 5.719 kB / 0.6343 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.713, allocations: 4 kB / 0.6343 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/1.713, allocations: 0 / 0.6343 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-05/1.713, allocations: 19.92 kB / 0.6343 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/1.713, allocations: 7.938 kB / 0.6343 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/1.713, allocations: 15.84 kB / 0.6344 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/1.713, allocations: 5.078 kB / 0.6344 GB, free: 0.8633 MB / 0.5137 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.502e-05/1.714, allocations: 121.9 kB / 0.6345 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/1.714, allocations: 7.891 kB / 0.6345 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/1.714, allocations: 158.2 kB / 0.6346 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.714, allocations: 0 / 0.6346 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.714, allocations: 4.125 kB / 0.6346 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.714, allocations: 7.922 kB / 0.6347 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/1.714, allocations: 209.5 kB / 0.6349 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.714, allocations: 0 / 0.6349 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/1.714, allocations: 7.984 kB / 0.6349 GB, free: 300 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.714, allocations: 4 kB / 0.6349 GB, free: 296 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/1.714, allocations: 4 kB / 0.6349 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.714, allocations: 0 / 0.6349 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.714, allocations: 3.938 kB / 0.6349 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/1.714, allocations: 170.1 kB / 0.635 GB, free: 100 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/1.714, allocations: 85.11 kB / 0.6351 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/1.714, allocations: 8 kB / 0.6351 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.932e-05/1.714, allocations: 4 kB / 0.6351 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/1.714, allocations: 7.922 kB / 0.6351 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/1.714, allocations: 4 kB / 0.6351 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.83e-05/1.714, allocations: 91.31 kB / 0.6352 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.714, allocations: 0 / 0.6352 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001865/1.716, allocations: 0.9877 MB / 0.6362 GB, free: 14.89 MB / 0.5294 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.003643/1.72, allocations: 1.51 MB / 0.6377 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001823/1.72, allocations: 115.9 kB / 0.6378 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.72, allocations: 0 / 0.6378 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.806e-05/1.72, allocations: 59.92 kB / 0.6378 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/1.721, allocations: 50.36 kB / 0.6379 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/1.721, allocations: 324.7 kB / 0.6382 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/1.721, allocations: 0.7001 MB / 0.6389 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/1.721, allocations: 11.44 kB / 0.6389 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.392e-06/1.721, allocations: 4 kB / 0.6389 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.02286/1.744, allocations: 18.95 MB / 0.6574 GB, free: 9.117 MB / 0.545 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)