Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.001759/0.001759, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002142/0.002142, allocations: 217 kB / 23.04 MB, free: 5.074 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002449/0.002449, allocations: 286.1 kB / 313.5 MB, free: 2.824 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.252/1.252, allocations: 180.6 MB / 0.5377 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.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="cs",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.002763/0.002763, allocations: 99.44 kB / 0.7403 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1851, allocations: 95.38 MB / 0.8335 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002915/0.1881, allocations: 1.529 MB / 0.835 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003566/0.1884, allocations: 133.3 kB / 0.8351 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.1885, allocations: 0 / 0.8351 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.069e-05/0.1885, allocations: 3.938 kB / 0.8351 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.1885, allocations: 7.938 kB / 0.8351 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1889, allocations: 72.75 kB / 0.8352 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.189, allocations: 59.78 kB / 0.8352 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1891, allocations: 16.27 kB / 0.8353 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.1892, allocations: 31.91 kB / 0.8353 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.1893, allocations: 19.92 kB / 0.8353 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1893, allocations: 8 kB / 0.8353 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.1893, allocations: 8 kB / 0.8353 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.1893, allocations: 11.92 kB / 0.8353 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1894, allocations: 23.92 kB / 0.8354 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.1895, allocations: 55.73 kB / 0.8354 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1895, allocations: 0 / 0.8354 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1895, allocations: 0 / 0.8354 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1895, allocations: 0 / 0.8354 GB, free: 6.703 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000544/0.19, allocations: 298.2 kB / 0.8357 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1901, allocations: 13.34 kB / 0.8357 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.594e-05/0.1901, allocations: 4.188 kB / 0.8357 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.1901, allocations: 34.69 kB / 0.8357 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1902, allocations: 12.83 kB / 0.8358 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1903, allocations: 126.4 kB / 0.8359 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.841e-05/0.1904, allocations: 59.97 kB / 0.8359 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1904, allocations: 4.375 kB / 0.8359 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.1906, allocations: 77.77 kB / 0.836 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1906, allocations: 4 kB / 0.836 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1907, allocations: 4 kB / 0.836 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1907, allocations: 0 / 0.836 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.1909, allocations: 43.95 kB / 0.8361 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.1915, allocations: 295.7 kB / 0.8363 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1916, allocations: 38.56 kB / 0.8364 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1917, allocations: 28.92 kB / 0.8364 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1917, allocations: 4 kB / 0.8364 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.1918, allocations: 38.5 kB / 0.8365 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1918, allocations: 4 kB / 0.8365 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003692/0.1921, allocations: 97.59 kB / 0.8365 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.1922, allocations: 55.39 kB / 0.8366 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.1923, allocations: 101.9 kB / 0.8367 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.1923, allocations: 33.69 kB / 0.8367 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1924, allocations: 88.09 kB / 0.8368 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1924, allocations: 15.89 kB / 0.8368 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1924, allocations: 17.72 kB / 0.8368 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1926, allocations: 322.8 kB / 0.8372 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.226e-05/0.1927, allocations: 19.98 kB / 0.8372 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1928, allocations: 33.69 kB / 0.8372 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.193, allocations: 65.81 kB / 0.8373 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.193, allocations: 128 / 0.8373 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000248/0.1932, allocations: 97.52 kB / 0.8374 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1932, allocations: 4 kB / 0.8374 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1932, allocations: 0 / 0.8374 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1932, allocations: 0 / 0.8374 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1933, allocations: 12 kB / 0.8374 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1934, allocations: 8.016 kB / 0.8374 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.1934, allocations: 4 kB / 0.8374 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1934, allocations: 4 kB / 0.8374 GB, free: 4.457 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 0.0001038/0.1935, allocations: 114.4 kB / 0.8375 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.1936, allocations: 7.953 kB / 0.8375 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.1936, allocations: 11.98 kB / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1936, allocations: 0 / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1936, allocations: 0 / 0.8375 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1936, allocations: 8 kB / 0.8375 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.1938, allocations: 148.6 kB / 0.8377 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1938, allocations: 0 / 0.8377 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.1939, allocations: 11.94 kB / 0.8377 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1939, allocations: 7.984 kB / 0.8377 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1939, allocations: 7.938 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1939, allocations: 0 / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1939, allocations: 0 / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.1942, allocations: 171.5 kB / 0.8379 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.1942, allocations: 7.953 kB / 0.8379 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1942, allocations: 0 / 0.8379 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1944, allocations: 15.98 kB / 0.8379 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.1944, allocations: 3.984 kB / 0.8379 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1944, allocations: 4 kB / 0.8379 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.1945, allocations: 87.27 kB / 0.838 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1945, allocations: 0 / 0.838 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002241/0.1947, allocations: 15.94 kB / 0.838 GB, free: 3.77 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 (4): * Single equations (assignments): 4 * 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.0006904/0.1954, allocations: 0.7046 MB / 0.8387 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.1956, allocations: 51.95 kB / 0.8387 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1956, allocations: 0 / 0.8387 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.365e-05/0.1957, allocations: 27.91 kB / 0.8388 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1961, allocations: 16.55 kB / 0.8388 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.1978, allocations: 1.335 MB / 0.8401 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.1981, allocations: 0.6849 MB / 0.8407 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.957e-05/0.1982, allocations: 4 kB / 0.8407 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.1982, allocations: 19.42 kB / 0.8408 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.1982, allocations: 4 kB / 0.8408 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.2186, allocations: 1.933 MB / 0.8427 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.32, allocations: 6.688 kB / 0.8427 GB, free: 15.01 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.61493113299366] Failed to read output from testmodel.py, exit status != 0: 11.478101787972264 11.503153782 11.308915698 Calling exit ...