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.7459/0.7459, allocations: 150.9 MB / 167 MB, free: 14.54 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 15.97 kB / 205.2 MB, free: 9.711 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1194, allocations: 31.32 MB / 236.5 MB, free: 5.402 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_p): time 1.425/1.545, allocations: 293.9 MB / 0.518 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02964/1.574, allocations: 30.43 MB / 0.5477 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/1.574, allocations: 4 kB / 0.5478 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/1.575, allocations: 143.4 kB / 0.5479 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.913e-05/1.575, allocations: 39.69 kB / 0.5479 GB, free: 15.59 MB / 446.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.01889/1.594, allocations: 8.051 MB / 0.5558 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/1.594, allocations: 127.4 kB / 0.5559 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.999e-05/1.594, allocations: 34.61 kB / 0.5559 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/1.594, allocations: 63.56 kB / 0.556 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/1.594, allocations: 35.8 kB / 0.556 GB, free: 7.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/1.594, allocations: 4 kB / 0.556 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0217/1.616, allocations: 14.51 MB / 0.5702 GB, free: 8.762 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/1.616, allocations: 19.91 kB / 0.5702 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/1.616, allocations: 35.75 kB / 0.5703 GB, free: 8.707 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/1.627, allocations: 7.272 MB / 0.5774 GB, free: 1.418 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.627, allocations: 0 / 0.5774 GB, free: 1.418 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/1.627, allocations: 4 kB / 0.5774 GB, free: 1.414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/1.627, allocations: 0 / 0.5774 GB, free: 1.414 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002702/1.63, allocations: 1.154 MB / 0.5785 GB, free: 216 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/1.63, allocations: 8.031 kB / 0.5785 GB, free: 208 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/1.63, allocations: 11.84 kB / 0.5785 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.63, allocations: 179 kB / 0.5787 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/1.63, allocations: 7.938 kB / 0.5787 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/1.63, allocations: 4 kB / 0.5787 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/1.63, allocations: 93.66 kB / 0.5788 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/1.63, allocations: 8 kB / 0.5788 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/1.63, allocations: 0 / 0.5788 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/1.63, allocations: 0 / 0.5788 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/1.631, allocations: 120.4 kB / 0.5789 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/1.631, allocations: 221.2 kB / 0.5791 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/1.631, allocations: 106.5 kB / 0.5792 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.675e-05/1.631, allocations: 64.84 kB / 0.5793 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1106/1.742, allocations: 56.05 MB / 0.634 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.742, allocations: 42.56 kB / 0.6341 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/1.742, allocations: 0 / 0.6341 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.0003629/1.742, allocations: 227.1 kB / 0.6343 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/1.742, allocations: 55.41 kB / 0.6343 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/1.742, allocations: 99.41 kB / 0.6344 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/1.742, allocations: 25.7 kB / 0.6344 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/1.742, allocations: 88.69 kB / 0.6345 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/1.742, allocations: 94.55 kB / 0.6346 GB, free: 480 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/1.742, allocations: 41.7 kB / 0.6347 GB, free: 432 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/1.742, allocations: 318.8 kB / 0.635 GB, free: 104 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/1.742, allocations: 43.98 kB / 0.635 GB, free: 60 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/1.742, allocations: 51.98 kB / 0.6351 GB, free: 8 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/1.743, allocations: 128.8 kB / 0.6352 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.743, allocations: 7.875 kB / 0.6352 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001952/1.743, allocations: 165.8 kB / 0.6353 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.743, allocations: 8 kB / 0.6354 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.743, allocations: 0 / 0.6354 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/1.743, allocations: 4 kB / 0.6354 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/1.743, allocations: 19.98 kB / 0.6354 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.743, allocations: 0 / 0.6354 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/1.743, allocations: 11.84 kB / 0.6354 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/1.743, allocations: 4 kB / 0.6354 GB, free: 15.66 MB / 0.5294 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.122e-05/1.743, allocations: 121.7 kB / 0.6355 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/1.743, allocations: 11.81 kB / 0.6355 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/1.743, allocations: 210.6 kB / 0.6357 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.743, allocations: 8 kB / 0.6357 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.743, allocations: 0 / 0.6357 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/1.743, allocations: 0 / 0.6357 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/1.744, allocations: 217.4 kB / 0.6359 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.744, allocations: 4 kB / 0.6359 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/1.744, allocations: 23.92 kB / 0.636 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.744, allocations: 4 kB / 0.636 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/1.744, allocations: 4 kB / 0.636 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/1.744, allocations: 0 / 0.636 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.744, allocations: 0 / 0.636 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/1.744, allocations: 207.3 kB / 0.6362 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/1.744, allocations: 96.84 kB / 0.6363 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/1.744, allocations: 0 / 0.6363 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.721e-05/1.744, allocations: 0 / 0.6363 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/1.744, allocations: 12 kB / 0.6363 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/1.744, allocations: 7.984 kB / 0.6363 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.793e-05/1.744, allocations: 79.28 kB / 0.6364 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.744, allocations: 0 / 0.6364 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001985/1.746, allocations: 1.003 MB / 0.6373 GB, free: 13.56 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 (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.003844/1.75, allocations: 1.552 MB / 0.6388 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002191/1.75, allocations: 149.1 kB / 0.639 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.75, allocations: 0 / 0.639 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/1.75, allocations: 75.97 kB / 0.6391 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/1.751, allocations: 48.56 kB / 0.6391 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/1.751, allocations: 344.8 kB / 0.6394 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/1.751, allocations: 0.7002 MB / 0.6401 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/1.751, allocations: 23.42 kB / 0.6401 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/1.751, allocations: 0 / 0.6401 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of Templates: time 0.0231/1.775, allocations: 19.38 MB / 0.6591 GB, free: 7.238 MB / 0.545 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)