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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8384/0.8384, allocations: 152.6 MB / 168.9 MB, free: 15.02 MB / 142.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005053, allocations: 15.55 kB / 244.4 MB, free: 15.96 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05993/0.06044, allocations: 33.06 MB / 277.5 MB, free: 1.145 MB / 222.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.7/1.761, allocations: 300.3 MB / 0.5643 GB, free: 3.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04011/1.801, allocations: 30.16 MB / 0.5937 GB, free: 5.062 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/1.801, allocations: 4 kB / 0.5937 GB, free: 5.059 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004691/1.801, allocations: 192.7 kB / 0.5939 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/1.802, allocations: 47.69 kB / 0.594 GB, free: 4.824 MB / 478.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.0217/1.823, allocations: 8.046 MB / 0.6018 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/1.824, allocations: 123.4 kB / 0.6019 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.733e-05/1.824, allocations: 15.98 kB / 0.602 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/1.824, allocations: 75.53 kB / 0.602 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.672e-05/1.824, allocations: 23.86 kB / 0.602 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/1.824, allocations: 4 kB / 0.602 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02668/1.85, allocations: 14.66 MB / 0.6164 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/1.851, allocations: 3.938 kB / 0.6164 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.348e-05/1.851, allocations: 47.72 kB / 0.6164 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/1.866, allocations: 7.204 MB / 0.6234 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.866, allocations: 0 / 0.6234 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/1.866, allocations: 0 / 0.6234 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.866, allocations: 0 / 0.6234 GB, free: 6.574 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.00305/1.869, allocations: 1.184 MB / 0.6246 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.869, allocations: 8.031 kB / 0.6246 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.97e-05/1.869, allocations: 46.56 kB / 0.6247 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/1.869, allocations: 15.88 kB / 0.6247 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/1.869, allocations: 170.9 kB / 0.6248 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/1.869, allocations: 4 kB / 0.6248 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/1.869, allocations: 4 kB / 0.6248 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/1.869, allocations: 139.4 kB / 0.625 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.869, allocations: 3.984 kB / 0.625 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/1.869, allocations: 4 kB / 0.625 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/1.869, allocations: 7.922 kB / 0.625 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/1.87, allocations: 55.92 kB / 0.625 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03881/1.908, allocations: 15.59 MB / 0.6403 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/1.909, allocations: 66.56 kB / 0.6403 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/1.909, allocations: 48.91 kB / 0.6404 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08146/1.99, allocations: 40.66 MB / 0.6801 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/1.99, allocations: 34.56 kB / 0.6801 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=23): time 2.484e-06/1.99, allocations: 0 / 0.6801 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.0003738/1.991, allocations: 185.5 kB / 0.6803 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/1.991, allocations: 55.34 kB / 0.6803 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/1.991, allocations: 117.8 kB / 0.6805 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/1.991, allocations: 25.7 kB / 0.6805 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/1.991, allocations: 104.4 kB / 0.6806 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/1.991, allocations: 75.28 kB / 0.6806 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/1.991, allocations: 33.7 kB / 0.6807 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.991, allocations: 322.8 kB / 0.681 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-05/1.991, allocations: 44.16 kB / 0.681 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/1.991, allocations: 85.59 kB / 0.6811 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/1.991, allocations: 148.5 kB / 0.6813 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.991, allocations: 4 kB / 0.6813 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002406/1.992, allocations: 165.3 kB / 0.6814 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.992, allocations: 4 kB / 0.6814 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.992, allocations: 12.09 kB / 0.6814 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.992, allocations: 0 / 0.6814 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/1.992, allocations: 27.86 kB / 0.6815 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.992, allocations: 4.469 kB / 0.6815 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/1.992, allocations: 15.84 kB / 0.6815 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/1.992, allocations: 7.984 kB / 0.6815 GB, free: 4.895 MB / 0.5606 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.063e-05/1.992, allocations: 114.4 kB / 0.6816 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/1.992, allocations: 7.953 kB / 0.6816 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/1.992, allocations: 166.1 kB / 0.6818 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.992, allocations: 11.94 kB / 0.6818 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.992, allocations: 4 kB / 0.6818 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/1.992, allocations: 0 / 0.6818 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/1.992, allocations: 201.5 kB / 0.682 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.992, allocations: 4 kB / 0.682 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/1.992, allocations: 4.188 kB / 0.682 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.992, allocations: 4 kB / 0.682 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/1.992, allocations: 7.984 kB / 0.682 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/1.992, allocations: 3.938 kB / 0.682 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.992, allocations: 0 / 0.682 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/1.993, allocations: 176.2 kB / 0.6822 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/1.993, allocations: 89 kB / 0.6822 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/1.993, allocations: 0 / 0.6822 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.171e-05/1.993, allocations: 7.938 kB / 0.6822 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/1.993, allocations: 0 / 0.6822 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/1.993, allocations: 4 kB / 0.6823 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.641e-05/1.993, allocations: 91.27 kB / 0.6823 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.993, allocations: 0 / 0.6823 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002365/1.995, allocations: 0.9977 MB / 0.6833 GB, free: 2.918 MB / 0.5606 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.003971/1.999, allocations: 2.127 MB / 0.6854 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002062/1.999, allocations: 107.8 kB / 0.6855 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.999, allocations: 0 / 0.6855 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.521e-05/1.999, allocations: 43.98 kB / 0.6855 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/2, allocations: 48.56 kB / 0.6856 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/2.002, allocations: 2.01 MB / 0.6875 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/2.002, allocations: 0.7039 MB / 0.6882 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.361e-05/2.002, allocations: 12 kB / 0.6882 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/2.002, allocations: 31.42 kB / 0.6883 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/2.002, allocations: 0 / 0.6883 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2522/2.255, allocations: 39.13 MB / 0.7265 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/12.3, allocations: 2.781 kB / 0.7265 GB, free: 194.5 MB / 0.5919 GB " [Timeout remaining time 647] (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: 14.03683881694451] Failed to read output from testmodel.py, exit status != 0: 12.515832209959626 12.524944848 10.657036079 Calling exit ...