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.00182/0.00182, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002507/0.002507, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 8.008 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.002573/0.002573, allocations: 286.6 kB / 312.7 MB, free: 2.793 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: 13 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.002897/0.002897, allocations: 102 kB / 0.7396 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1719, allocations: 95.4 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002608/0.1745, allocations: 1.537 MB / 0.8342 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.1748, allocations: 125.3 kB / 0.8343 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.1749, allocations: 8 kB / 0.8344 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.1749, allocations: 3.938 kB / 0.8344 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.887e-05/0.175, allocations: 3.938 kB / 0.8344 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1753, allocations: 76.33 kB / 0.8344 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.1754, allocations: 55.84 kB / 0.8345 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/0.1755, allocations: 16.27 kB / 0.8345 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.1755, allocations: 31.91 kB / 0.8345 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.1756, allocations: 15.92 kB / 0.8345 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1756, allocations: 8 kB / 0.8346 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.694e-05/0.1756, allocations: 8 kB / 0.8346 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.1756, allocations: 15.92 kB / 0.8346 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.1757, allocations: 23.92 kB / 0.8346 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.1758, allocations: 63.66 kB / 0.8347 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1758, allocations: 0 / 0.8347 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1758, allocations: 0 / 0.8347 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1758, allocations: 0 / 0.8347 GB, free: 6.664 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.0005012/0.1763, allocations: 294.2 kB / 0.8349 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1763, allocations: 13.34 kB / 0.835 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/0.1764, allocations: 34.75 kB / 0.835 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.1764, allocations: 12.88 kB / 0.835 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1765, allocations: 118.4 kB / 0.8351 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.1766, allocations: 55.97 kB / 0.8352 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.1766, allocations: 4.375 kB / 0.8352 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.1768, allocations: 77.95 kB / 0.8352 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1768, allocations: 0 / 0.8352 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1769, allocations: 11.94 kB / 0.8353 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1769, allocations: 0 / 0.8353 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.177, allocations: 43.95 kB / 0.8353 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.1776, allocations: 283.8 kB / 0.8356 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1778, allocations: 58.48 kB / 0.8356 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.1778, allocations: 24.94 kB / 0.8356 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1779, allocations: 0 / 0.8356 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1779, allocations: 34.56 kB / 0.8357 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1779, allocations: 0 / 0.8357 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.000341/0.1782, allocations: 109.6 kB / 0.8358 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.1783, allocations: 51.41 kB / 0.8358 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.1784, allocations: 109.8 kB / 0.8359 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1784, allocations: 25.7 kB / 0.836 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.1784, allocations: 92.08 kB / 0.836 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.1785, allocations: 19.77 kB / 0.8361 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.1785, allocations: 17.72 kB / 0.8361 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1786, allocations: 326.8 kB / 0.8364 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.1787, allocations: 19.97 kB / 0.8364 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.79e-05/0.1788, allocations: 33.7 kB / 0.8364 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.179, allocations: 53.67 kB / 0.8365 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.179, allocations: 4 kB / 0.8365 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002131/0.1792, allocations: 93.55 kB / 0.8366 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1792, allocations: 4 kB / 0.8366 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1792, allocations: 0 / 0.8366 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1792, allocations: 0 / 0.8366 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.1793, allocations: 15.98 kB / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1793, allocations: 0 / 0.8366 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.1794, allocations: 4.031 kB / 0.8366 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1794, allocations: 7.984 kB / 0.8366 GB, free: 4.434 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 8.89e-05/0.1795, allocations: 122.4 kB / 0.8367 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.1795, allocations: 7.953 kB / 0.8367 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.1795, allocations: 8 kB / 0.8368 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1795, allocations: 0 / 0.8368 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1795, allocations: 0 / 0.8368 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1795, allocations: 0 / 0.8368 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1797, allocations: 152.7 kB / 0.8369 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1797, allocations: 128 / 0.8369 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.1798, allocations: 19.98 kB / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1798, allocations: 0 / 0.8369 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1798, allocations: 7.938 kB / 0.8369 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1798, allocations: 0 / 0.8369 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1798, allocations: 320 / 0.8369 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.18, allocations: 171.5 kB / 0.8371 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.1801, allocations: 11.95 kB / 0.8371 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.1801, allocations: 3.984 kB / 0.8371 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1802, allocations: 11.98 kB / 0.8371 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1802, allocations: 3.938 kB / 0.8371 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.1802, allocations: 4 kB / 0.8371 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.878e-05/0.1803, allocations: 91.25 kB / 0.8372 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1803, allocations: 0 / 0.8372 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002251/0.1805, allocations: 12 kB / 0.8372 GB, free: 3.742 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.0005796/0.1811, allocations: 0.7085 MB / 0.8379 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.1813, allocations: 56.22 kB / 0.838 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1813, allocations: 4 kB / 0.838 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.1814, allocations: 23.98 kB / 0.838 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.1817, allocations: 6.734 kB / 0.838 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1832, allocations: 1.343 MB / 0.8393 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.1835, allocations: 0.6807 MB / 0.84 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.1835, allocations: 4 kB / 0.84 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.1836, allocations: 23.36 kB / 0.84 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.1836, allocations: 0 / 0.84 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.2098, allocations: 1.902 MB / 0.8419 GB, free: 15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.81, allocations: 7.938 kB / 0.8419 GB, free: 14.99 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.29528394999943] Failed to read output from testmodel.py, exit status != 0: 10.919572983999387 10.942989953 10.764092387 Calling exit ...