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.822/0.822, allocations: 153.8 MB / 172.7 MB, free: 4.879 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005088, allocations: 19.97 kB / 249.8 MB, free: 4.43 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1577, allocations: 33.35 MB / 283.1 MB, free: 1.75 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.767/1.925, allocations: 306.9 MB / 0.5762 GB, free: 17.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02749/1.952, allocations: 26.58 MB / 0.6021 GB, free: 5.629 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/1.952, allocations: 3.719 kB / 0.6021 GB, free: 5.629 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/1.953, allocations: 140 kB / 0.6023 GB, free: 5.578 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/1.953, allocations: 53.78 kB / 0.6023 GB, free: 5.543 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.02089/1.974, allocations: 8.05 MB / 0.6102 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/1.974, allocations: 121 kB / 0.6103 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.598e-05/1.974, allocations: 18.8 kB / 0.6103 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/1.974, allocations: 70.97 kB / 0.6104 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/1.974, allocations: 34.91 kB / 0.6104 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/1.974, allocations: 2.156 kB / 0.6104 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02676/2.001, allocations: 13.82 MB / 0.6239 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/2.001, allocations: 11.94 kB / 0.6239 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.119e-05/2.001, allocations: 36.33 kB / 0.6239 GB, free: 5.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01536/2.017, allocations: 7.212 MB / 0.631 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/2.017, allocations: 0 / 0.631 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/2.017, allocations: 5.469 kB / 0.631 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.19e-05/2.017, allocations: 0.5938 kB / 0.631 GB, free: 13.83 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.002941/2.02, allocations: 1.1 MB / 0.6321 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/2.02, allocations: 13.69 kB / 0.6321 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/2.02, allocations: 42.55 kB / 0.6321 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/2.02, allocations: 7.953 kB / 0.6321 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/2.02, allocations: 123 kB / 0.6323 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/2.02, allocations: 5.375 kB / 0.6323 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/2.02, allocations: 4 kB / 0.6323 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/2.02, allocations: 128.1 kB / 0.6324 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/2.02, allocations: 3.938 kB / 0.6324 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/2.02, allocations: 0.5 kB / 0.6324 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/2.02, allocations: 8.609 kB / 0.6324 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.642e-05/2.02, allocations: 60.66 kB / 0.6325 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03823/2.058, allocations: 11.26 MB / 0.6434 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/2.059, allocations: 67.62 kB / 0.6435 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/2.059, allocations: 44.91 kB / 0.6436 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07531/2.134, allocations: 22.05 MB / 0.6651 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/2.134, allocations: 42.55 kB / 0.6651 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=23): time 2.224e-06/2.134, allocations: 0 / 0.6651 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23): time 0.0003644/2.134, allocations: 193.4 kB / 0.6653 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/2.134, allocations: 51.41 kB / 0.6654 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/2.134, allocations: 123.1 kB / 0.6655 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/2.134, allocations: 25.7 kB / 0.6655 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/2.135, allocations: 104.4 kB / 0.6656 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/2.135, allocations: 75.28 kB / 0.6657 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/2.135, allocations: 33.7 kB / 0.6657 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000137/2.135, allocations: 330.8 kB / 0.666 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/2.135, allocations: 44.2 kB / 0.6661 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.679e-05/2.135, allocations: 87.02 kB / 0.6661 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/2.135, allocations: 159.1 kB / 0.6663 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/2.135, allocations: 0 / 0.6663 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002445/2.135, allocations: 173.2 kB / 0.6665 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/2.135, allocations: 7.938 kB / 0.6665 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/2.135, allocations: 0 / 0.6665 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/2.135, allocations: 4 kB / 0.6665 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/2.135, allocations: 16.14 kB / 0.6665 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/2.135, allocations: 4 kB / 0.6665 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/2.136, allocations: 15.84 kB / 0.6665 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/2.136, allocations: 4 kB / 0.6665 GB, free: 9.203 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 9.51e-05/2.136, allocations: 125.7 kB / 0.6666 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/2.136, allocations: 5.266 kB / 0.6666 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/2.136, allocations: 176.1 kB / 0.6668 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/2.136, allocations: 0 / 0.6668 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/2.136, allocations: 0.8438 kB / 0.6668 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/2.136, allocations: 4.5 kB / 0.6668 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/2.136, allocations: 181.9 kB / 0.667 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/2.136, allocations: 7.938 kB / 0.667 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/2.136, allocations: 4 kB / 0.667 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/2.136, allocations: 0 / 0.667 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/2.136, allocations: 0 / 0.667 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/2.136, allocations: 0 / 0.667 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/2.136, allocations: 0 / 0.667 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/2.136, allocations: 185.1 kB / 0.6672 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/2.136, allocations: 12.45 kB / 0.6672 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/2.136, allocations: 4.984 kB / 0.6672 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.189e-05/2.136, allocations: 4 kB / 0.6672 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/2.136, allocations: 0 / 0.6672 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/2.136, allocations: 4 kB / 0.6672 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.95e-05/2.136, allocations: 95.92 kB / 0.6673 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/2.136, allocations: 4.781 kB / 0.6673 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002338/2.139, allocations: 0.9977 MB / 0.6683 GB, free: 7.336 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.004498/2.143, allocations: 2.125 MB / 0.6703 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002449/2.144, allocations: 119.4 kB / 0.6705 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/2.144, allocations: 0 / 0.6705 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.171e-05/2.144, allocations: 47.92 kB / 0.6705 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/2.144, allocations: 48.23 kB / 0.6705 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/2.147, allocations: 2.031 MB / 0.6725 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.488e-05/2.147, allocations: 88.86 kB / 0.6726 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.316e-05/2.147, allocations: 11.73 kB / 0.6726 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/2.147, allocations: 23.44 kB / 0.6726 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of SimCode: time 8.71e-07/2.147, allocations: 0 / 0.6726 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0765/2.223, allocations: 39.9 MB / 0.7116 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/14.91, allocations: 8.203 kB / 0.7116 GB, free: 11.42 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.6314850570634] Failed to read output from testmodel.py, exit status != 0: 15.186572602018714 15.200708914 13.18122569 Calling exit ...