Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 110.4 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 214.8 kB / 22.25 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002509/0.002509, allocations: 288.5 kB / 312.7 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.211/1.211, allocations: 180.6 MB / 0.5369 GB, free: 13.06 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 101.6 kB / 0.7396 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1837, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002997/0.1867, allocations: 1.455 MB / 0.8341 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.1879, allocations: 0.5984 MB / 0.8347 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.1879, allocations: 0 / 0.8347 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.1879, allocations: 3.938 kB / 0.8347 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.188, allocations: 7.938 kB / 0.8347 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.1885, allocations: 103.5 kB / 0.8348 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.648e-05/0.1886, allocations: 27.86 kB / 0.8349 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.1887, allocations: 4 kB / 0.8349 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.359e-05/0.1887, allocations: 8 kB / 0.8349 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.1888, allocations: 15.92 kB / 0.8349 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1888, allocations: 0 / 0.8349 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.1891, allocations: 151.7 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.1892, allocations: 8 kB / 0.835 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.1892, allocations: 11.94 kB / 0.835 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1895, allocations: 111.9 kB / 0.8352 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1895, allocations: 0 / 0.8352 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1895, allocations: 0 / 0.8352 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1895, allocations: 0 / 0.8352 GB, free: 6.156 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005223/0.19, allocations: 286 kB / 0.8354 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.19, allocations: 9.938 kB / 0.8354 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.1901, allocations: 34.75 kB / 0.8355 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005183/0.1906, allocations: 32.89 kB / 0.8355 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1907, allocations: 114.5 kB / 0.8356 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1907, allocations: 384 / 0.8356 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.1908, allocations: 384 / 0.8356 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.191, allocations: 70.19 kB / 0.8357 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.191, allocations: 7.938 kB / 0.8357 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.191, allocations: 3.984 kB / 0.8357 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.191, allocations: 4 kB / 0.8357 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.1913, allocations: 51.94 kB / 0.8357 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.1918, allocations: 240 kB / 0.836 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.192, allocations: 66.41 kB / 0.836 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1921, allocations: 28.89 kB / 0.8361 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1921, allocations: 0 / 0.8361 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1921, allocations: 38.56 kB / 0.8361 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.1921, allocations: 0 / 0.8361 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004862/0.1926, allocations: 117.5 kB / 0.8362 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1927, allocations: 59.53 kB / 0.8363 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.1927, allocations: 93.86 kB / 0.8364 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1928, allocations: 25.7 kB / 0.8364 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.1928, allocations: 88.14 kB / 0.8365 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.1928, allocations: 7.938 kB / 0.8365 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1929, allocations: 13.72 kB / 0.8365 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.193, allocations: 314.8 kB / 0.8368 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1932, allocations: 27.97 kB / 0.8368 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1933, allocations: 27.97 kB / 0.8368 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.1935, allocations: 56.86 kB / 0.8369 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1935, allocations: 7.938 kB / 0.8369 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002926/0.1938, allocations: 85.58 kB / 0.837 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1938, allocations: 4 kB / 0.837 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1938, allocations: 0 / 0.837 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1938, allocations: 7.984 kB / 0.837 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.194, allocations: 16.02 kB / 0.837 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.194, allocations: 0 / 0.837 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.1941, allocations: 11.98 kB / 0.837 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1941, allocations: 3.938 kB / 0.837 GB, free: 4.043 MB / 0.5762 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.971e-05/0.1942, allocations: 118.4 kB / 0.8371 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.1943, allocations: 0 / 0.8371 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.1943, allocations: 7.312 kB / 0.8371 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1943, allocations: 0 / 0.8371 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1943, allocations: 7.984 kB / 0.8371 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1943, allocations: 0 / 0.8371 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1945, allocations: 144.6 kB / 0.8373 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1945, allocations: 0 / 0.8373 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.1946, allocations: 11.98 kB / 0.8373 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1946, allocations: 0 / 0.8373 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1946, allocations: 4 kB / 0.8373 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1946, allocations: 3.984 kB / 0.8373 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1946, allocations: 4 kB / 0.8373 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.195, allocations: 183.4 kB / 0.8375 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.195, allocations: 7.938 kB / 0.8375 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.195, allocations: 3.938 kB / 0.8375 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1951, allocations: 12.02 kB / 0.8375 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1952, allocations: 3.984 kB / 0.8375 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1952, allocations: 4 kB / 0.8375 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.474e-05/0.1952, allocations: 79.28 kB / 0.8376 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1952, allocations: 4 kB / 0.8376 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002319/0.1954, allocations: 8 kB / 0.8376 GB, free: 3.375 MB / 0.5762 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0007721/0.1962, allocations: 0.7318 MB / 0.8383 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1965, allocations: 59.97 kB / 0.8384 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1965, allocations: 0 / 0.8384 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.1966, allocations: 27.97 kB / 0.8384 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1969, allocations: 4.688 kB / 0.8384 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.1975, allocations: 168.9 kB / 0.8386 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1978, allocations: 0.6768 MB / 0.8392 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.333e-05/0.1979, allocations: 7.938 kB / 0.8392 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.1979, allocations: 19.42 kB / 0.8393 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1979, allocations: 0 / 0.8393 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.2267, allocations: 1.791 MB / 0.841 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.15, allocations: 9.562 kB / 0.841 GB, free: 15.93 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.296205992111936] Failed to read output from testmodel.py, exit status != 0: 11.25463878386654 11.273614646 11.080671944 Calling exit ...