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.7898/0.7898, allocations: 150.9 MB / 166.4 MB, free: 14.19 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003231, allocations: 15.97 kB / 204.6 MB, free: 9.52 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 31.32 MB / 236 MB, free: 5.445 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.494/1.626, allocations: 293.9 MB / 0.5175 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03175/1.658, allocations: 30.42 MB / 0.5472 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/1.658, allocations: 4 kB / 0.5472 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/1.658, allocations: 148 kB / 0.5473 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/1.658, allocations: 40.44 kB / 0.5474 GB, free: 15.6 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.01911/1.677, allocations: 8.058 MB / 0.5552 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/1.678, allocations: 127.4 kB / 0.5554 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/1.678, allocations: 21.05 kB / 0.5554 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/1.678, allocations: 71.55 kB / 0.5555 GB, free: 7.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/1.678, allocations: 35.78 kB / 0.5555 GB, free: 7.305 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/1.678, allocations: 4 kB / 0.5555 GB, free: 7.301 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02435/1.702, allocations: 14.51 MB / 0.5697 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/1.702, allocations: 11.92 kB / 0.5697 GB, free: 8.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/1.702, allocations: 39.75 kB / 0.5697 GB, free: 8.723 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0147/1.717, allocations: 7.275 MB / 0.5768 GB, free: 1.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.717, allocations: 0 / 0.5768 GB, free: 1.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/1.717, allocations: 0 / 0.5768 GB, free: 1.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/1.717, allocations: 0 / 0.5768 GB, free: 1.43 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.002992/1.72, allocations: 1.154 MB / 0.5779 GB, free: 232 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.72, allocations: 8.031 kB / 0.5779 GB, free: 224 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/1.72, allocations: 42.55 kB / 0.578 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/1.72, allocations: 11.84 kB / 0.578 GB, free: 160 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/1.72, allocations: 186.8 kB / 0.5782 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/1.72, allocations: 4 kB / 0.5782 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/1.72, allocations: 4 kB / 0.5782 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/1.721, allocations: 89.67 kB / 0.5783 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/1.721, allocations: 4 kB / 0.5783 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/1.721, allocations: 0 / 0.5783 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/1.721, allocations: 15.86 kB / 0.5783 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/1.721, allocations: 111.8 kB / 0.5784 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/1.721, allocations: 209.5 kB / 0.5786 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/1.721, allocations: 114.5 kB / 0.5787 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/1.721, allocations: 69.44 kB / 0.5788 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1125/1.834, allocations: 56.06 MB / 0.6335 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/1.834, allocations: 34.56 kB / 0.6335 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/1.834, allocations: 0 / 0.6335 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.0004691/1.834, allocations: 227.1 kB / 0.6338 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/1.834, allocations: 55.41 kB / 0.6338 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.338e-05/1.835, allocations: 97.84 kB / 0.6339 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.835, allocations: 33.7 kB / 0.6339 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/1.835, allocations: 80.7 kB / 0.634 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/1.835, allocations: 98.55 kB / 0.6341 GB, free: 436 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/1.835, allocations: 33.7 kB / 0.6341 GB, free: 396 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.835, allocations: 318.8 kB / 0.6344 GB, free: 68 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/1.835, allocations: 47.97 kB / 0.6345 GB, free: 20 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/1.835, allocations: 55.98 kB / 0.6345 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/1.835, allocations: 132.7 kB / 0.6347 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.835, allocations: 7.938 kB / 0.6347 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002307/1.835, allocations: 170.3 kB / 0.6348 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.835, allocations: 8 kB / 0.6349 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.835, allocations: 0 / 0.6349 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/1.835, allocations: 0 / 0.6349 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/1.836, allocations: 12 kB / 0.6349 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.836, allocations: 0 / 0.6349 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.173e-05/1.836, allocations: 11.84 kB / 0.6349 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/1.836, allocations: 7.984 kB / 0.6349 GB, free: 15.61 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 8.973e-05/1.836, allocations: 129.7 kB / 0.635 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/1.836, allocations: 11.81 kB / 0.635 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/1.836, allocations: 199.5 kB / 0.6352 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.836, allocations: 7.984 kB / 0.6352 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.836, allocations: 0 / 0.6352 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.836, allocations: 0 / 0.6352 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/1.836, allocations: 221.4 kB / 0.6354 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.836, allocations: 3.938 kB / 0.6354 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/1.836, allocations: 23.92 kB / 0.6355 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.836, allocations: 0 / 0.6355 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/1.836, allocations: 0 / 0.6355 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.836, allocations: 0 / 0.6355 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.836, allocations: 0 / 0.6355 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/1.837, allocations: 207.5 kB / 0.6357 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/1.837, allocations: 96.86 kB / 0.6357 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/1.837, allocations: 0 / 0.6357 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-05/1.837, allocations: 4 kB / 0.6357 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/1.837, allocations: 7.984 kB / 0.6358 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/1.837, allocations: 4 kB / 0.6358 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.794e-05/1.837, allocations: 83.27 kB / 0.6358 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.41e-07/1.837, allocations: 0 / 0.6358 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002288/1.839, allocations: 1.003 MB / 0.6368 GB, free: 13.53 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.004882/1.844, allocations: 2.192 MB / 0.639 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002485/1.844, allocations: 148.5 kB / 0.6391 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.844, allocations: 0 / 0.6391 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/1.844, allocations: 79.91 kB / 0.6392 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/1.845, allocations: 45.53 kB / 0.6392 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/1.848, allocations: 1.98 MB / 0.6412 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/1.848, allocations: 0.708 MB / 0.6418 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.532e-05/1.848, allocations: 8.656 kB / 0.6419 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/1.848, allocations: 35.42 kB / 0.6419 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/1.848, allocations: 0 / 0.6419 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06475/1.913, allocations: 39.94 MB / 0.6809 GB, free: 368 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.138/11.05, allocations: 11.69 kB / 0.6809 GB, free: 356 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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1)