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.8357/0.8357, allocations: 153.8 MB / 172.7 MB, free: 4.949 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.0005081/0.0005081, allocations: 19.91 kB / 249.8 MB, free: 4.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1681, allocations: 33.35 MB / 283.2 MB, free: 1.812 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.818/1.986, allocations: 306.7 MB / 0.576 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02779/2.014, allocations: 30.28 MB / 0.6056 GB, free: 1.836 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/2.014, allocations: 1.188 kB / 0.6056 GB, free: 1.836 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/2.014, allocations: 194.9 kB / 0.6058 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/2.014, allocations: 55.22 kB / 0.6058 GB, free: 1.711 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.02132/2.036, allocations: 8.121 MB / 0.6138 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/2.036, allocations: 120.9 kB / 0.6139 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.04e-05/2.036, allocations: 23.61 kB / 0.6139 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/2.036, allocations: 75.84 kB / 0.614 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/2.036, allocations: 35.27 kB / 0.614 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/2.036, allocations: 2.75 kB / 0.614 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03169/2.068, allocations: 14.67 MB / 0.6283 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/2.068, allocations: 14.61 kB / 0.6284 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.938e-05/2.068, allocations: 35.81 kB / 0.6284 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01846/2.086, allocations: 7.211 MB / 0.6354 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/2.086, allocations: 0 / 0.6354 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/2.086, allocations: 0 / 0.6354 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.344e-05/2.086, allocations: 1.344 kB / 0.6354 GB, free: 9.461 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.003277/2.09, allocations: 1.114 MB / 0.6365 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/2.09, allocations: 12.53 kB / 0.6365 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/2.09, allocations: 38.55 kB / 0.6366 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/2.09, allocations: 8.578 kB / 0.6366 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/2.09, allocations: 124.4 kB / 0.6367 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/2.09, allocations: 9.375 kB / 0.6367 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/2.09, allocations: 0 / 0.6367 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/2.09, allocations: 133.8 kB / 0.6368 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/2.09, allocations: 0.6562 kB / 0.6368 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/2.09, allocations: 4 kB / 0.6368 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/2.09, allocations: 8.484 kB / 0.6369 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-05/2.09, allocations: 52.8 kB / 0.6369 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03847/2.129, allocations: 11.22 MB / 0.6479 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/2.129, allocations: 74.55 kB / 0.6479 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/2.129, allocations: 44.91 kB / 0.648 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.075/2.204, allocations: 21.97 MB / 0.6694 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/2.204, allocations: 38.5 kB / 0.6695 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=23): time 2.374e-06/2.204, allocations: 0 / 0.6695 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23): time 0.0004191/2.205, allocations: 189.5 kB / 0.6696 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/2.205, allocations: 51.41 kB / 0.6697 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/2.205, allocations: 122.8 kB / 0.6698 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/2.205, allocations: 26.64 kB / 0.6698 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/2.205, allocations: 100.4 kB / 0.6699 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/2.205, allocations: 87.25 kB / 0.67 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/2.205, allocations: 29.7 kB / 0.67 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001566/2.205, allocations: 330.8 kB / 0.6704 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-05/2.205, allocations: 44.22 kB / 0.6704 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/2.205, allocations: 92.12 kB / 0.6705 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/2.206, allocations: 150.3 kB / 0.6706 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/2.206, allocations: 0.75 kB / 0.6706 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002669/2.206, allocations: 170.3 kB / 0.6708 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/2.206, allocations: 8 kB / 0.6708 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/2.206, allocations: 160 / 0.6708 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/2.206, allocations: 8 kB / 0.6708 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/2.206, allocations: 15.94 kB / 0.6708 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/2.206, allocations: 0 / 0.6708 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/2.206, allocations: 23.83 kB / 0.6708 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/2.206, allocations: 6 kB / 0.6709 GB, free: 4.938 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.942e-05/2.206, allocations: 117.8 kB / 0.671 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/2.206, allocations: 11.89 kB / 0.671 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/2.206, allocations: 166.4 kB / 0.6711 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/2.206, allocations: 7.984 kB / 0.6711 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/2.206, allocations: 1.5 kB / 0.6711 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/2.206, allocations: 0 / 0.6711 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/2.207, allocations: 184.5 kB / 0.6713 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/2.207, allocations: 4 kB / 0.6713 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/2.207, allocations: 4.5 kB / 0.6713 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/2.207, allocations: 0 / 0.6713 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/2.207, allocations: 0 / 0.6713 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/2.207, allocations: 1 kB / 0.6713 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/2.207, allocations: 0 / 0.6713 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/2.207, allocations: 180.8 kB / 0.6715 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/2.207, allocations: 13.67 kB / 0.6715 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/2.207, allocations: 3.984 kB / 0.6715 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.831e-05/2.207, allocations: 0 / 0.6715 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/2.207, allocations: 8 kB / 0.6715 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/2.207, allocations: 0 / 0.6715 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.881e-05/2.207, allocations: 92.58 kB / 0.6716 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.207, allocations: 0 / 0.6716 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002674/2.21, allocations: 0.9977 MB / 0.6726 GB, free: 3.09 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.005096/2.215, allocations: 2.135 MB / 0.6747 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003084/2.215, allocations: 115.8 kB / 0.6748 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/2.215, allocations: 0 / 0.6748 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/2.215, allocations: 44.92 kB / 0.6748 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/2.216, allocations: 60.06 kB / 0.6749 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/2.219, allocations: 2.03 MB / 0.6769 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/2.219, allocations: 0.6963 MB / 0.6775 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.524e-05/2.219, allocations: 12.23 kB / 0.6776 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/2.219, allocations: 27.42 kB / 0.6776 GB, free: 13.86 MB / 0.545 GB Notification: Performance of SimCode: time 1.072e-06/2.219, allocations: 7.938 kB / 0.6776 GB, free: 13.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0798/2.299, allocations: 39.44 MB / 0.7161 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/14.94, allocations: 8.266 kB / 0.7161 GB, free: 6.949 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 & 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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.863785838000013] Failed to read output from testmodel.py, exit status != 0: 15.231122815000163 15.245684584 13.156019933 Calling exit ...