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.00181/0.00181, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002271/0.002271, allocations: 213.8 kB / 22.24 MB, free: 5.262 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.746 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.002544/0.002544, allocations: 285.9 kB / 312.7 MB, free: 2.59 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.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.002969/0.002969, allocations: 98.12 kB / 0.7395 GB, free: 28.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1853, allocations: 95.39 MB / 0.8326 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002998/0.1883, allocations: 1.521 MB / 0.8341 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000377/0.1887, allocations: 125.3 kB / 0.8342 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.1888, allocations: 4 kB / 0.8342 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.1888, allocations: 3.938 kB / 0.8342 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.1889, allocations: 3.938 kB / 0.8343 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.1893, allocations: 69.95 kB / 0.8343 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1894, allocations: 59.84 kB / 0.8344 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1895, allocations: 11.98 kB / 0.8344 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.1896, allocations: 31.91 kB / 0.8344 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.1896, allocations: 15.92 kB / 0.8344 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1896, allocations: 12 kB / 0.8344 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.1897, allocations: 4 kB / 0.8344 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.1897, allocations: 15.92 kB / 0.8345 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.1897, allocations: 19.92 kB / 0.8345 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1899, allocations: 60.02 kB / 0.8345 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1899, allocations: 0 / 0.8345 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.224e-06/0.1899, allocations: 0 / 0.8345 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.1899, allocations: 3.938 kB / 0.8345 GB, free: 6.512 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.0005713/0.1905, allocations: 294.2 kB / 0.8348 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1905, allocations: 8.75 kB / 0.8348 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.778e-05/0.1906, allocations: 42.75 kB / 0.8349 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.1906, allocations: 4.891 kB / 0.8349 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1907, allocations: 118.5 kB / 0.835 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.1908, allocations: 55.97 kB / 0.835 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1908, allocations: 4.375 kB / 0.835 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.1911, allocations: 107.7 kB / 0.8352 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1911, allocations: 0 / 0.8352 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1911, allocations: 0 / 0.8352 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1911, allocations: 3.938 kB / 0.8352 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.1913, allocations: 55.89 kB / 0.8352 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.1919, allocations: 275.8 kB / 0.8355 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.192, allocations: 42.55 kB / 0.8355 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.1921, allocations: 32.88 kB / 0.8355 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.1921, allocations: 4 kB / 0.8355 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.1922, allocations: 34.56 kB / 0.8356 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 3.327e-06/0.1922, allocations: 3.984 kB / 0.8356 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003638/0.1925, allocations: 101.6 kB / 0.8357 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.1926, allocations: 55.41 kB / 0.8357 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1927, allocations: 105.8 kB / 0.8358 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1927, allocations: 25.7 kB / 0.8359 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.1928, allocations: 88.14 kB / 0.8359 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.1928, allocations: 19.84 kB / 0.836 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.1928, allocations: 17.7 kB / 0.836 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.193, allocations: 326.7 kB / 0.8363 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.605e-05/0.1931, allocations: 23.92 kB / 0.8363 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-05/0.1932, allocations: 33.69 kB / 0.8363 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.1933, allocations: 49.69 kB / 0.8364 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1933, allocations: 4 kB / 0.8364 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002255/0.1936, allocations: 97.53 kB / 0.8365 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1936, allocations: 4 kB / 0.8365 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1936, allocations: 0 / 0.8365 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1936, allocations: 0 / 0.8365 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.1937, allocations: 16.11 kB / 0.8365 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1937, allocations: 4.312 kB / 0.8365 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.1938, allocations: 4 kB / 0.8365 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1938, allocations: 8.031 kB / 0.8365 GB, free: 4.258 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 9.16e-05/0.1939, allocations: 118.4 kB / 0.8366 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.1939, allocations: 7.953 kB / 0.8366 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.1939, allocations: 8 kB / 0.8367 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1939, allocations: 3.938 kB / 0.8367 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.1939, allocations: 4 kB / 0.8367 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1939, allocations: 0 / 0.8367 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.1941, allocations: 140.8 kB / 0.8368 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1941, allocations: 0 / 0.8368 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.1942, allocations: 11.98 kB / 0.8368 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1942, allocations: 8 kB / 0.8368 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.1942, allocations: 0 / 0.8368 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.496e-05/0.1942, allocations: 3.984 kB / 0.8368 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1942, allocations: 0 / 0.8368 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.1945, allocations: 179.4 kB / 0.837 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.1945, allocations: 7.891 kB / 0.837 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.1945, allocations: 0 / 0.837 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1946, allocations: 11.98 kB / 0.837 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.1947, allocations: 0 / 0.837 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1947, allocations: 15.98 kB / 0.837 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.1947, allocations: 87.22 kB / 0.8371 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1947, allocations: 0 / 0.8371 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002246/0.1949, allocations: 12 kB / 0.8371 GB, free: 3.574 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.0006241/0.1956, allocations: 0.7049 MB / 0.8378 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.1958, allocations: 67.81 kB / 0.8379 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1958, allocations: 0 / 0.8379 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/0.1959, allocations: 19.98 kB / 0.8379 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1962, allocations: 7.984 kB / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.1978, allocations: 1.337 MB / 0.8392 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.641e-05/0.1979, allocations: 67.33 kB / 0.8393 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.1979, allocations: 4 kB / 0.8393 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.198, allocations: 19.44 kB / 0.8393 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.198, allocations: 0 / 0.8393 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.2257, allocations: 2.356 MB / 0.8416 GB, free: 15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.32, allocations: 11.75 kB / 0.8416 GB, free: 15 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.831074207089841] Failed to read output from testmodel.py, exit status != 0: 11.42813823884353 11.454205574 11.259783366 Calling exit ...