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: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8135/0.8135, allocations: 150.9 MB / 166.4 MB, free: 14.42 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 15.97 kB / 204.6 MB, free: 9.645 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 31.32 MB / 236 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.671/1.822, allocations: 294 MB / 0.5175 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03671/1.859, allocations: 30.42 MB / 0.5472 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-05/1.859, allocations: 4 kB / 0.5472 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/1.859, allocations: 147.4 kB / 0.5474 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/1.859, allocations: 39.69 kB / 0.5474 GB, free: 15.54 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.02106/1.88, allocations: 8.056 MB / 0.5553 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/1.881, allocations: 123.4 kB / 0.5554 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.19e-05/1.881, allocations: 29.02 kB / 0.5554 GB, free: 7.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/1.881, allocations: 71.55 kB / 0.5555 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.806e-05/1.881, allocations: 39.78 kB / 0.5555 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/1.881, allocations: 4 kB / 0.5555 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02977/1.911, allocations: 14.51 MB / 0.5697 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/1.911, allocations: 11.92 kB / 0.5697 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.58e-05/1.911, allocations: 39.75 kB / 0.5697 GB, free: 8.664 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0198/1.931, allocations: 7.279 MB / 0.5768 GB, free: 1.367 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.931, allocations: 0 / 0.5768 GB, free: 1.367 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/1.931, allocations: 0 / 0.5768 GB, free: 1.367 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/1.931, allocations: 0 / 0.5768 GB, free: 1.367 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.003825/1.935, allocations: 1.158 MB / 0.578 GB, free: 164 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.935, allocations: 11.97 kB / 0.578 GB, free: 152 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/1.935, allocations: 42.55 kB / 0.578 GB, free: 100 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/1.935, allocations: 11.84 kB / 0.578 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/1.935, allocations: 174.9 kB / 0.5782 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.935, allocations: 8 kB / 0.5782 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/1.935, allocations: 4 kB / 0.5782 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/1.935, allocations: 97.59 kB / 0.5783 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/1.935, allocations: 0 / 0.5783 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/1.935, allocations: 4 kB / 0.5783 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/1.935, allocations: 3.938 kB / 0.5783 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/1.935, allocations: 115.8 kB / 0.5784 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/1.936, allocations: 213.5 kB / 0.5786 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/1.936, allocations: 105 kB / 0.5787 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/1.936, allocations: 72.84 kB / 0.5788 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1222/2.058, allocations: 56.05 MB / 0.6335 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/2.058, allocations: 38.56 kB / 0.6336 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/2.058, allocations: 0 / 0.6336 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.0004437/2.059, allocations: 227.1 kB / 0.6338 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/2.059, allocations: 55.41 kB / 0.6338 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/2.059, allocations: 97.86 kB / 0.6339 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/2.059, allocations: 29.7 kB / 0.634 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.871e-05/2.059, allocations: 88.69 kB / 0.6341 GB, free: 472 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.354e-05/2.059, allocations: 90.56 kB / 0.6341 GB, free: 380 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/2.059, allocations: 37.7 kB / 0.6342 GB, free: 336 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001139/2.059, allocations: 318.8 kB / 0.6345 GB, free: 8 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/2.059, allocations: 44.06 kB / 0.6345 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/2.059, allocations: 51.98 kB / 0.6346 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/2.06, allocations: 136.6 kB / 0.6347 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/2.06, allocations: 12 kB / 0.6347 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002525/2.06, allocations: 161.8 kB / 0.6349 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/2.06, allocations: 9.875 kB / 0.6349 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/2.06, allocations: 0 / 0.6349 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/2.06, allocations: 0 / 0.6349 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/2.06, allocations: 19.98 kB / 0.6349 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/2.06, allocations: 0 / 0.6349 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/2.06, allocations: 11.84 kB / 0.6349 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/2.06, allocations: 4 kB / 0.6349 GB, free: 15.55 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 0.0001005/2.06, allocations: 129.7 kB / 0.635 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/2.06, allocations: 7.812 kB / 0.635 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/2.061, allocations: 206.7 kB / 0.6352 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/2.061, allocations: 8 kB / 0.6352 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/2.061, allocations: 0 / 0.6352 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/2.061, allocations: 0.6562 kB / 0.6352 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/2.061, allocations: 221.3 kB / 0.6355 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/2.061, allocations: 0 / 0.6355 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/2.061, allocations: 19.92 kB / 0.6355 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/2.061, allocations: 4 kB / 0.6355 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/2.061, allocations: 4 kB / 0.6355 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/2.061, allocations: 0 / 0.6355 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/2.061, allocations: 0 / 0.6355 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/2.061, allocations: 200.9 kB / 0.6357 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/2.062, allocations: 105.7 kB / 0.6358 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/2.062, allocations: 0 / 0.6358 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.967e-05/2.062, allocations: 0 / 0.6358 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/2.062, allocations: 8 kB / 0.6358 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/2.062, allocations: 7.984 kB / 0.6358 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.348e-05/2.062, allocations: 79.28 kB / 0.6359 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.593e-06/2.062, allocations: 0 / 0.6359 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004566/2.066, allocations: 1.003 MB / 0.6369 GB, free: 13.47 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.007086/2.073, allocations: 2.189 MB / 0.639 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003737/2.074, allocations: 141.1 kB / 0.6391 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/2.074, allocations: 8 kB / 0.6391 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/2.074, allocations: 75.91 kB / 0.6392 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/2.074, allocations: 54.38 kB / 0.6393 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/2.078, allocations: 1.978 MB / 0.6412 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/2.078, allocations: 0.708 MB / 0.6419 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.941e-05/2.078, allocations: 8.656 kB / 0.6419 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/2.078, allocations: 35.42 kB / 0.6419 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/2.078, allocations: 0 / 0.6419 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07663/2.155, allocations: 39.94 MB / 0.6809 GB, free: 304 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.712/11.87, allocations: 15.62 kB / 0.6809 GB, free: 288 kB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)