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.8785/0.8785, allocations: 153.8 MB / 172.7 MB, free: 4.867 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.0004909/0.0004909, allocations: 7.984 kB / 249.8 MB, free: 4.402 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1592, allocations: 33.36 MB / 283.1 MB, free: 1.723 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.836/1.995, allocations: 306.8 MB / 0.5761 GB, free: 17.44 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02594/2.021, allocations: 26.6 MB / 0.6021 GB, free: 5.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/2.021, allocations: 1.5 kB / 0.6021 GB, free: 5.727 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/2.022, allocations: 137.5 kB / 0.6023 GB, free: 5.68 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/2.022, allocations: 47.23 kB / 0.6023 GB, free: 5.648 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.01977/2.042, allocations: 8.055 MB / 0.6102 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/2.042, allocations: 121.8 kB / 0.6103 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/2.042, allocations: 14.88 kB / 0.6103 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/2.042, allocations: 76.41 kB / 0.6104 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/2.042, allocations: 29.89 kB / 0.6104 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/2.042, allocations: 2.625 kB / 0.6104 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02589/2.068, allocations: 13.83 MB / 0.6239 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/2.068, allocations: 7.922 kB / 0.6239 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.18e-05/2.068, allocations: 38.3 kB / 0.6239 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01491/2.083, allocations: 7.215 MB / 0.631 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/2.083, allocations: 0 / 0.631 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/2.083, allocations: 0.75 kB / 0.631 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.092e-06/2.083, allocations: 0 / 0.631 GB, free: 13.89 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.00292/2.086, allocations: 1.104 MB / 0.6321 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/2.086, allocations: 15.97 kB / 0.6321 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/2.086, allocations: 44.02 kB / 0.6321 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/2.086, allocations: 3.953 kB / 0.6321 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/2.086, allocations: 119 kB / 0.6322 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/2.086, allocations: 4 kB / 0.6322 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/2.086, allocations: 16.09 kB / 0.6323 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/2.086, allocations: 123.5 kB / 0.6324 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/2.086, allocations: 3.938 kB / 0.6324 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/2.087, allocations: 4 kB / 0.6324 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/2.087, allocations: 8.516 kB / 0.6324 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/2.087, allocations: 53.39 kB / 0.6324 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0382/2.125, allocations: 11.25 MB / 0.6434 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/2.125, allocations: 76.59 kB / 0.6435 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/2.125, allocations: 44.91 kB / 0.6436 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07593/2.201, allocations: 22.06 MB / 0.6651 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/2.201, allocations: 30.56 kB / 0.6651 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/2.201, allocations: 0 / 0.6651 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=23): time 0.0003737/2.201, allocations: 197.4 kB / 0.6653 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/2.201, allocations: 51.41 kB / 0.6654 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/2.202, allocations: 114.8 kB / 0.6655 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/2.202, allocations: 33.7 kB / 0.6655 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/2.202, allocations: 100.4 kB / 0.6656 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/2.202, allocations: 87.19 kB / 0.6657 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/2.202, allocations: 34.64 kB / 0.6657 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001488/2.202, allocations: 326.8 kB / 0.666 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/2.202, allocations: 44.22 kB / 0.6661 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/2.202, allocations: 88.44 kB / 0.6662 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/2.202, allocations: 158.1 kB / 0.6663 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/2.202, allocations: 0 / 0.6663 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000241/2.203, allocations: 170.5 kB / 0.6665 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/2.203, allocations: 4 kB / 0.6665 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/2.203, allocations: 4.938 kB / 0.6665 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/2.203, allocations: 0 / 0.6665 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/2.203, allocations: 15.98 kB / 0.6665 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/2.203, allocations: 4 kB / 0.6665 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/2.203, allocations: 20 kB / 0.6665 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/2.203, allocations: 8 kB / 0.6665 GB, free: 9.25 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 0.0001025/2.203, allocations: 121.7 kB / 0.6666 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/2.203, allocations: 3.953 kB / 0.6666 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/2.203, allocations: 174.6 kB / 0.6668 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/2.203, allocations: 0.8125 kB / 0.6668 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/2.203, allocations: 4 kB / 0.6668 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/2.203, allocations: 0 / 0.6668 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/2.203, allocations: 176.6 kB / 0.667 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/2.203, allocations: 0 / 0.667 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/2.203, allocations: 8.75 kB / 0.667 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/2.203, allocations: 4.656 kB / 0.667 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/2.203, allocations: 0.5625 kB / 0.667 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/2.203, allocations: 0 / 0.667 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.203, allocations: 4 kB / 0.667 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/2.204, allocations: 180.8 kB / 0.6672 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/2.204, allocations: 7.891 kB / 0.6672 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/2.204, allocations: 5.188 kB / 0.6672 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/2.204, allocations: 0.8438 kB / 0.6672 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/2.204, allocations: 5.344 kB / 0.6672 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/2.204, allocations: 4 kB / 0.6672 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.447e-05/2.204, allocations: 96.3 kB / 0.6673 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/2.204, allocations: 0 / 0.6673 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002289/2.206, allocations: 1.002 MB / 0.6683 GB, free: 7.395 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.004389/2.21, allocations: 2.128 MB / 0.6703 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002221/2.211, allocations: 115.9 kB / 0.6704 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/2.211, allocations: 0 / 0.6704 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.348e-05/2.211, allocations: 47.92 kB / 0.6705 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/2.211, allocations: 50.77 kB / 0.6705 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/2.214, allocations: 2.031 MB / 0.6725 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/2.214, allocations: 88.84 kB / 0.6726 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.108e-05/2.214, allocations: 10.11 kB / 0.6726 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/2.214, allocations: 35.42 kB / 0.6727 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/2.214, allocations: 0 / 0.6727 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0791/2.293, allocations: 39.89 MB / 0.7116 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/15.22, allocations: 14.03 kB / 0.7116 GB, free: 11.46 MB / 0.5762 GB " [Timeout remaining time 644] (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: 17.125515141058713] Failed to read output from testmodel.py, exit status != 0: 15.529897265136242 15.5451909 13.459021644 Calling exit ...