Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.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.8445/0.8445, allocations: 152.6 MB / 168.9 MB, free: 15 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_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p,fileNamePrefix="ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005061, allocations: 14.61 kB / 244.4 MB, free: 15.95 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06349/0.06399, allocations: 33.06 MB / 277.5 MB, free: 1.141 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_p): time 1.692/1.756, allocations: 300.3 MB / 0.5643 GB, free: 3.277 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03748/1.794, allocations: 30.55 MB / 0.5941 GB, free: 4.609 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/1.794, allocations: 0 / 0.5941 GB, free: 4.609 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/1.794, allocations: 199.4 kB / 0.5943 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/1.794, allocations: 55.67 kB / 0.5944 GB, free: 4.359 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.02074/1.815, allocations: 8.118 MB / 0.6023 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/1.815, allocations: 143.3 kB / 0.6024 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.87e-05/1.815, allocations: 21.05 kB / 0.6024 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/1.815, allocations: 71.55 kB / 0.6025 GB, free: 12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/1.815, allocations: 35.78 kB / 0.6026 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/1.815, allocations: 0 / 0.6026 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02492/1.84, allocations: 14.71 MB / 0.6169 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/1.84, allocations: 19.91 kB / 0.6169 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/1.84, allocations: 39.75 kB / 0.617 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01539/1.856, allocations: 7.274 MB / 0.6241 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.856, allocations: 4 kB / 0.6241 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/1.856, allocations: 0 / 0.6241 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.304e-05/1.856, allocations: 0 / 0.6241 GB, free: 5.883 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.003301/1.859, allocations: 1.191 MB / 0.6252 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.859, allocations: 12.03 kB / 0.6253 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/1.859, allocations: 42.55 kB / 0.6253 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/1.859, allocations: 15.84 kB / 0.6253 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/1.859, allocations: 174.9 kB / 0.6255 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/1.859, allocations: 7.938 kB / 0.6255 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/1.859, allocations: 8 kB / 0.6255 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/1.86, allocations: 81.67 kB / 0.6256 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.86, allocations: 0 / 0.6256 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/1.86, allocations: 8 kB / 0.6256 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.86, allocations: 7.922 kB / 0.6256 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/1.86, allocations: 115.8 kB / 0.6257 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/1.86, allocations: 221.5 kB / 0.6259 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/1.86, allocations: 90.48 kB / 0.626 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.718e-05/1.86, allocations: 52.83 kB / 0.626 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1207/1.981, allocations: 56.41 MB / 0.6811 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/1.981, allocations: 30.56 kB / 0.6812 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.374e-06/1.981, allocations: 0 / 0.6812 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.000468/1.981, allocations: 238.2 kB / 0.6814 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/1.982, allocations: 55.41 kB / 0.6814 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.548e-05/1.982, allocations: 93.86 kB / 0.6815 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/1.982, allocations: 33.7 kB / 0.6816 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/1.982, allocations: 80.7 kB / 0.6816 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.982, allocations: 103 kB / 0.6817 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/1.982, allocations: 37.64 kB / 0.6818 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.982, allocations: 322.8 kB / 0.6821 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/1.982, allocations: 47.98 kB / 0.6821 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.794e-05/1.982, allocations: 51.98 kB / 0.6822 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/1.982, allocations: 124.8 kB / 0.6823 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.982, allocations: 0 / 0.6823 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002461/1.983, allocations: 177.8 kB / 0.6825 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.983, allocations: 4 kB / 0.6825 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/1.983, allocations: 0 / 0.6825 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.983, allocations: 4 kB / 0.6825 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/1.983, allocations: 15.98 kB / 0.6825 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.983, allocations: 0 / 0.6825 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/1.983, allocations: 11.89 kB / 0.6825 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/1.983, allocations: 8 kB / 0.6825 GB, free: 3.684 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 10 * 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.683e-05/1.983, allocations: 121.7 kB / 0.6826 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/1.983, allocations: 11.91 kB / 0.6826 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/1.983, allocations: 206.7 kB / 0.6828 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/1.983, allocations: 7.984 kB / 0.6828 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.983, allocations: 0 / 0.6828 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.983, allocations: 0 / 0.6828 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/1.983, allocations: 225.4 kB / 0.6831 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.983, allocations: 0 / 0.6831 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/1.984, allocations: 19.98 kB / 0.6831 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/1.984, allocations: 0 / 0.6831 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/1.984, allocations: 4 kB / 0.6831 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.984, allocations: 3.938 kB / 0.6831 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.984, allocations: 0 / 0.6831 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/1.984, allocations: 204.9 kB / 0.6833 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/1.984, allocations: 85 kB / 0.6834 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.984, allocations: 11.98 kB / 0.6834 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.259e-05/1.984, allocations: 8 kB / 0.6834 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/1.984, allocations: 7.938 kB / 0.6834 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/1.984, allocations: 7.984 kB / 0.6834 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.149e-05/1.984, allocations: 75.28 kB / 0.6835 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.984, allocations: 0 / 0.6835 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00256/1.987, allocations: 1.013 MB / 0.6845 GB, free: 1.578 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 (12): * Single equations (assignments): 10 * 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.005326/1.992, allocations: 2.209 MB / 0.6866 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002458/1.992, allocations: 115.9 kB / 0.6867 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.992, allocations: 4 kB / 0.6867 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/1.992, allocations: 63.97 kB / 0.6868 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/1.993, allocations: 43.89 kB / 0.6868 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/1.996, allocations: 2.02 MB / 0.6888 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.996, allocations: 0.704 MB / 0.6895 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.466e-05/1.996, allocations: 16.72 kB / 0.6895 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/1.996, allocations: 27.44 kB / 0.6895 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/1.996, allocations: 0 / 0.6895 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2551/2.251, allocations: 39.94 MB / 0.7285 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/12.41, allocations: 8.125 kB / 0.7285 GB, free: 194.1 MB / 0.5919 GB " [Timeout remaining time 647] (rm -f ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe >> ../files/ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Properties_WaterSteamSimple_Validation_calculette_p.fmu > ThermoSysPro_ThermoSysPro.Properties.WaterSteamSimple.Validation.calculette_p.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.139708030037582] Failed to read output from testmodel.py, exit status != 0: 12.633786831051111 12.647454398 10.789457625 Calling exit ...