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: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",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 1.023/1.023, allocations: 150.9 MB / 166.4 MB, free: 14.23 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 15.97 kB / 204.6 MB, free: 9.52 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 31.32 MB / 236 MB, free: 5.398 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.566/1.701, allocations: 294 MB / 0.5175 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03237/1.734, allocations: 30.03 MB / 0.5468 GB, free: 168 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/1.734, allocations: 0 / 0.5468 GB, free: 168 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/1.734, allocations: 144 kB / 0.547 GB, free: 24 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/1.735, allocations: 39.8 kB / 0.547 GB, free: 15.98 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.01848/1.753, allocations: 7.975 MB / 0.5548 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/1.753, allocations: 115.5 kB / 0.5549 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/1.753, allocations: 33.67 kB / 0.5549 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/1.753, allocations: 67.59 kB / 0.555 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/1.754, allocations: 31.81 kB / 0.555 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/1.754, allocations: 0 / 0.555 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02287/1.776, allocations: 14.46 MB / 0.5692 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/1.776, allocations: 11.94 kB / 0.5692 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/1.777, allocations: 39.75 kB / 0.5692 GB, free: 9.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01404/1.791, allocations: 7.194 MB / 0.5762 GB, free: 2.043 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.791, allocations: 4 kB / 0.5762 GB, free: 2.039 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/1.791, allocations: 0 / 0.5762 GB, free: 2.039 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/1.791, allocations: 4 kB / 0.5762 GB, free: 2.035 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.003059/1.794, allocations: 1.143 MB / 0.5774 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.794, allocations: 8.031 kB / 0.5774 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/1.794, allocations: 42.55 kB / 0.5774 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/1.794, allocations: 11.84 kB / 0.5774 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/1.794, allocations: 174.8 kB / 0.5776 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.794, allocations: 4 kB / 0.5776 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/1.794, allocations: 8 kB / 0.5776 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/1.794, allocations: 127.5 kB / 0.5777 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.794, allocations: 0 / 0.5777 GB, free: 412 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/1.794, allocations: 4 kB / 0.5777 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/1.794, allocations: 3.938 kB / 0.5777 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.857e-05/1.794, allocations: 64.45 kB / 0.5778 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03886/1.833, allocations: 15.45 MB / 0.5929 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/1.834, allocations: 94.36 kB / 0.593 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/1.834, allocations: 52.84 kB / 0.593 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08018/1.914, allocations: 40.43 MB / 0.6325 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.914, allocations: 34.56 kB / 0.6325 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 3.306e-06/1.914, allocations: 2.109 kB / 0.6325 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0003277/1.914, allocations: 186.1 kB / 0.6327 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/1.914, allocations: 63.28 kB / 0.6328 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/1.914, allocations: 117.8 kB / 0.6329 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/1.914, allocations: 25.7 kB / 0.6329 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/1.914, allocations: 104.4 kB / 0.633 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.621e-05/1.914, allocations: 74.84 kB / 0.6331 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/1.915, allocations: 29.7 kB / 0.6331 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/1.915, allocations: 322.8 kB / 0.6334 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/1.915, allocations: 40.22 kB / 0.6334 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/1.915, allocations: 90.36 kB / 0.6335 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/1.915, allocations: 151.8 kB / 0.6337 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.915, allocations: 0 / 0.6337 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002437/1.915, allocations: 173.9 kB / 0.6338 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.915, allocations: 8 kB / 0.6338 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.915, allocations: 3.984 kB / 0.6338 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.915, allocations: 4 kB / 0.6339 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/1.915, allocations: 15.94 kB / 0.6339 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/1.915, allocations: 0 / 0.6339 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.833e-05/1.915, allocations: 11.84 kB / 0.6339 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/1.915, allocations: 4 kB / 0.6339 GB, free: 0.7695 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.636e-05/1.916, allocations: 125.8 kB / 0.634 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/1.916, allocations: 15.91 kB / 0.634 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/1.916, allocations: 155.9 kB / 0.6342 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.916, allocations: 11.92 kB / 0.6342 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.916, allocations: 0 / 0.6342 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.916, allocations: 3.938 kB / 0.6342 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/1.916, allocations: 209.5 kB / 0.6344 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.916, allocations: 0 / 0.6344 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/1.916, allocations: 8 kB / 0.6344 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.916, allocations: 0 / 0.6344 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/1.916, allocations: 0 / 0.6344 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.916, allocations: 3.938 kB / 0.6344 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/1.916, allocations: 0 / 0.6344 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/1.916, allocations: 172.4 kB / 0.6346 GB, free: 16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/1.916, allocations: 88.95 kB / 0.6346 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/1.916, allocations: 0 / 0.6346 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.067e-05/1.916, allocations: 7.938 kB / 0.6346 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/1.916, allocations: 7.984 kB / 0.6347 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/1.916, allocations: 0 / 0.6347 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.773e-05/1.916, allocations: 91.27 kB / 0.6347 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.916, allocations: 0 / 0.6347 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002242/1.919, allocations: 0.9838 MB / 0.6357 GB, free: 14.8 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.004903/1.924, allocations: 2.113 MB / 0.6378 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002179/1.924, allocations: 119.8 kB / 0.6379 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.924, allocations: 0 / 0.6379 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.594e-05/1.924, allocations: 60.3 kB / 0.6379 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/1.924, allocations: 56.97 kB / 0.638 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/1.927, allocations: 1.978 MB / 0.6399 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/1.927, allocations: 0.7079 MB / 0.6406 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.015e-05/1.927, allocations: 15.97 kB / 0.6406 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/1.927, allocations: 25.08 kB / 0.6407 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of SimCode: time 4.1e-07/1.927, allocations: 0 / 0.6407 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06214/1.99, allocations: 39.15 MB / 0.6789 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.755/11.74, allocations: 7.031 kB / 0.6789 GB, free: 2.512 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)