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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.7931/0.7931, allocations: 153.8 MB / 173.5 MB, free: 4.945 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004504, allocations: 11.98 kB / 250.6 MB, free: 4.477 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1461, allocations: 33.36 MB / 284 MB, free: 1.836 MB / 222.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h): time 1.684/1.83, allocations: 306.5 MB / 0.5766 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02434/1.854, allocations: 30.27 MB / 0.6062 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/1.854, allocations: 1.719 kB / 0.6062 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/1.855, allocations: 195.3 kB / 0.6064 GB, free: 1.797 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/1.855, allocations: 49.25 kB / 0.6064 GB, free: 1.766 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.0191/1.874, allocations: 8.134 MB / 0.6144 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/1.874, allocations: 115.1 kB / 0.6145 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.804e-05/1.874, allocations: 22.77 kB / 0.6145 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/1.874, allocations: 70.92 kB / 0.6146 GB, free: 14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/1.874, allocations: 35.7 kB / 0.6146 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/1.874, allocations: 1.375 kB / 0.6146 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02663/1.901, allocations: 14.67 MB / 0.6289 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/1.901, allocations: 7.938 kB / 0.6289 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.501e-05/1.901, allocations: 45.61 kB / 0.629 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/1.915, allocations: 7.215 MB / 0.636 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.915, allocations: 4.938 kB / 0.636 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/1.915, allocations: 0 / 0.636 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.915, allocations: 0 / 0.636 GB, free: 9.488 MB / 0.4981 GB 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.003044/1.918, allocations: 1.107 MB / 0.6371 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.918, allocations: 9.219 kB / 0.6371 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.695e-05/1.918, allocations: 8 kB / 0.6371 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/1.918, allocations: 43.55 kB / 0.6372 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/1.918, allocations: 3.953 kB / 0.6372 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/1.918, allocations: 125 kB / 0.6373 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/1.918, allocations: 6.094 kB / 0.6373 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/1.918, allocations: 10.62 kB / 0.6373 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/1.918, allocations: 131.6 kB / 0.6374 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/1.918, allocations: 0 / 0.6374 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/1.918, allocations: 0 / 0.6374 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/1.918, allocations: 8 kB / 0.6374 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/1.919, allocations: 56.47 kB / 0.6375 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03654/1.955, allocations: 11.21 MB / 0.6485 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/1.955, allocations: 62.56 kB / 0.6485 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/1.955, allocations: 44.91 kB / 0.6486 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07235/2.028, allocations: 21.99 MB / 0.67 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/2.028, allocations: 38.56 kB / 0.6701 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=23): time 1.774e-06/2.028, allocations: 1.688 kB / 0.6701 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23): time 0.0003487/2.028, allocations: 190.3 kB / 0.6702 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/2.028, allocations: 55.41 kB / 0.6703 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.58e-05/2.028, allocations: 113.8 kB / 0.6704 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/2.028, allocations: 25.7 kB / 0.6704 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/2.028, allocations: 108.4 kB / 0.6705 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/2.028, allocations: 79.33 kB / 0.6706 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/2.028, allocations: 33.69 kB / 0.6706 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/2.029, allocations: 324 kB / 0.671 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/2.029, allocations: 48.2 kB / 0.671 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.563e-05/2.029, allocations: 92.75 kB / 0.6711 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/2.029, allocations: 146.3 kB / 0.6712 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/2.029, allocations: 0 / 0.6712 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002459/2.029, allocations: 178.1 kB / 0.6714 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/2.029, allocations: 4.781 kB / 0.6714 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/2.029, allocations: 0 / 0.6714 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/2.029, allocations: 4 kB / 0.6714 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/2.029, allocations: 15.98 kB / 0.6714 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/2.029, allocations: 7.875 kB / 0.6714 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/2.029, allocations: 16.59 kB / 0.6714 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/2.029, allocations: 4 kB / 0.6714 GB, free: 4.973 MB / 0.5294 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.577e-05/2.029, allocations: 121.7 kB / 0.6716 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/2.029, allocations: 19.97 kB / 0.6716 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/2.03, allocations: 161.3 kB / 0.6717 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/2.03, allocations: 0 / 0.6717 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/2.03, allocations: 5.203 kB / 0.6717 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/2.03, allocations: 0 / 0.6717 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/2.03, allocations: 189.8 kB / 0.6719 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/2.03, allocations: 0 / 0.6719 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/2.03, allocations: 7.984 kB / 0.6719 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/2.03, allocations: 0.9375 kB / 0.6719 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/2.03, allocations: 0 / 0.6719 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/2.03, allocations: 0 / 0.6719 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/2.03, allocations: 4 kB / 0.6719 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/2.03, allocations: 175.7 kB / 0.6721 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.887e-05/2.03, allocations: 12.39 kB / 0.6721 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/2.03, allocations: 0 / 0.6721 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.811e-05/2.03, allocations: 0 / 0.6721 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/2.03, allocations: 7.984 kB / 0.6721 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/2.03, allocations: 4.812 kB / 0.6721 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.751e-05/2.03, allocations: 96.77 kB / 0.6722 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.03, allocations: 0 / 0.6722 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002293/2.032, allocations: 1.002 MB / 0.6732 GB, free: 3.113 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.004815/2.037, allocations: 2.136 MB / 0.6753 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002135/2.038, allocations: 104.5 kB / 0.6754 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/2.038, allocations: 0 / 0.6754 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.066e-05/2.038, allocations: 51.92 kB / 0.6754 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/2.038, allocations: 53.78 kB / 0.6755 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/2.041, allocations: 2.025 MB / 0.6775 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/2.041, allocations: 0.708 MB / 0.6782 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.338e-05/2.041, allocations: 4 kB / 0.6782 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/2.041, allocations: 27.42 kB / 0.6782 GB, free: 13.89 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/2.041, allocations: 0 / 0.6782 GB, free: 13.89 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06928/2.11, allocations: 39.48 MB / 0.7167 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/14.75, allocations: 10.52 kB / 0.7167 GB, free: 6.98 MB / 0.5762 GB " [Timeout remaining time 645] (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 --stepSize=4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_h.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.62822887301445] Failed to read output from testmodel.py, exit status != 0: 15.082253545988351 15.096915659 13.179030693 Calling exit ...