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 0.7665/0.7665, allocations: 150.9 MB / 166.4 MB, free: 14.39 MB / 142.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 11.98 kB / 204.6 MB, free: 9.656 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 31.34 MB / 236 MB, free: 5.391 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.509/1.65, allocations: 293.9 MB / 0.5175 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03303/1.683, allocations: 30.03 MB / 0.5468 GB, free: 148 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/1.683, allocations: 0 / 0.5468 GB, free: 148 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/1.683, allocations: 143.4 kB / 0.5469 GB, free: 4 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/1.683, allocations: 39.8 kB / 0.547 GB, free: 15.96 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.02032/1.704, allocations: 7.978 MB / 0.5548 GB, free: 8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/1.704, allocations: 115.5 kB / 0.5549 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/1.704, allocations: 15.98 kB / 0.5549 GB, free: 7.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/1.704, allocations: 67.55 kB / 0.555 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.478e-05/1.704, allocations: 39.78 kB / 0.555 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/1.704, allocations: 0 / 0.555 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02456/1.729, allocations: 14.45 MB / 0.5691 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/1.729, allocations: 15.91 kB / 0.5691 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/1.729, allocations: 43.75 kB / 0.5692 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01506/1.744, allocations: 7.202 MB / 0.5762 GB, free: 2.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.744, allocations: 0 / 0.5762 GB, free: 2.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/1.744, allocations: 0 / 0.5762 GB, free: 2.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/1.744, allocations: 0 / 0.5762 GB, free: 2.02 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.003155/1.747, allocations: 1.142 MB / 0.5773 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.747, allocations: 8.031 kB / 0.5773 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/1.747, allocations: 46.55 kB / 0.5774 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/1.747, allocations: 11.84 kB / 0.5774 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/1.747, allocations: 180.3 kB / 0.5775 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/1.747, allocations: 4 kB / 0.5775 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/1.747, allocations: 4 kB / 0.5776 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/1.748, allocations: 131.5 kB / 0.5777 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/1.748, allocations: 0 / 0.5777 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/1.748, allocations: 0 / 0.5777 GB, free: 388 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/1.748, allocations: 11.92 kB / 0.5777 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.008e-05/1.748, allocations: 63.84 kB / 0.5777 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03645/1.784, allocations: 15.44 MB / 0.5928 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/1.784, allocations: 86.36 kB / 0.5929 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/1.785, allocations: 59.48 kB / 0.593 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07937/1.864, allocations: 40.43 MB / 0.6325 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/1.864, allocations: 34.56 kB / 0.6325 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/1.864, allocations: 0 / 0.6325 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.0003331/1.864, allocations: 194.1 kB / 0.6327 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/1.864, allocations: 59.28 kB / 0.6327 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/1.865, allocations: 121.8 kB / 0.6328 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/1.865, allocations: 25.7 kB / 0.6329 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.386e-05/1.865, allocations: 92.39 kB / 0.633 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/1.865, allocations: 74.84 kB / 0.633 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/1.865, allocations: 33.7 kB / 0.6331 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.865, allocations: 326.8 kB / 0.6334 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-05/1.865, allocations: 36.22 kB / 0.6334 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.104e-05/1.865, allocations: 90.3 kB / 0.6335 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/1.865, allocations: 147.9 kB / 0.6336 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.865, allocations: 4 kB / 0.6336 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002378/1.865, allocations: 173.8 kB / 0.6338 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/1.865, allocations: 8 kB / 0.6338 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.865, allocations: 480 / 0.6338 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/1.865, allocations: 4 kB / 0.6338 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.444e-05/1.866, allocations: 19.92 kB / 0.6338 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.866, allocations: 0 / 0.6338 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.471e-05/1.866, allocations: 11.84 kB / 0.6338 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/1.866, allocations: 12.09 kB / 0.6339 GB, free: 0.7383 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 8.077e-05/1.866, allocations: 117.8 kB / 0.634 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/1.866, allocations: 7.906 kB / 0.634 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/1.866, allocations: 167.3 kB / 0.6341 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.866, allocations: 7.938 kB / 0.6341 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.866, allocations: 4 kB / 0.6341 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.866, allocations: 0 / 0.6341 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/1.866, allocations: 209.5 kB / 0.6343 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.866, allocations: 0 / 0.6343 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/1.866, allocations: 4 kB / 0.6344 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.866, allocations: 0 / 0.6344 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/1.866, allocations: 0 / 0.6344 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/1.866, allocations: 11.92 kB / 0.6344 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.866, allocations: 0 / 0.6344 GB, free: 160 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/1.866, allocations: 169.6 kB / 0.6345 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/1.866, allocations: 89.02 kB / 0.6346 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/1.866, allocations: 0 / 0.6346 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/1.867, allocations: 3.938 kB / 0.6346 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/1.867, allocations: 4.25 kB / 0.6346 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/1.867, allocations: 0.8906 kB / 0.6346 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.752e-05/1.867, allocations: 91.27 kB / 0.6347 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.867, allocations: 0 / 0.6347 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002243/1.869, allocations: 0.9838 MB / 0.6357 GB, free: 14.79 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.00481/1.874, allocations: 2.115 MB / 0.6377 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000209/1.874, allocations: 127.8 kB / 0.6379 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.874, allocations: 0 / 0.6379 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.634e-05/1.874, allocations: 55.98 kB / 0.6379 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/1.874, allocations: 53.89 kB / 0.638 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/1.877, allocations: 1.985 MB / 0.6399 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/1.877, allocations: 0.7117 MB / 0.6406 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.242e-05/1.877, allocations: 4 kB / 0.6406 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/1.877, allocations: 27.42 kB / 0.6406 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/1.878, allocations: 0 / 0.6406 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06678/1.944, allocations: 39.14 MB / 0.6788 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.156/11.1, allocations: 15.27 kB / 0.6789 GB, free: 2.488 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 & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h_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_h.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1)