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.001307/0.001307, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001454/0.001454, allocations: 211.2 kB / 22.24 MB, free: 4.855 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.801 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.003663/0.003663, allocations: 290 kB / 312.7 MB, free: 2.621 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.292/1.292, allocations: 180.6 MB / 0.5369 GB, free: 14.59 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.002947/0.002947, allocations: 97.17 kB / 0.7395 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1755, allocations: 95.38 MB / 0.8326 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002992/0.1785, allocations: 1.524 MB / 0.8341 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.1789, allocations: 121.3 kB / 0.8342 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.1789, allocations: 4 kB / 0.8342 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.1789, allocations: 11.92 kB / 0.8342 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.179, allocations: 3.938 kB / 0.8343 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1793, allocations: 68.97 kB / 0.8343 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1794, allocations: 55.89 kB / 0.8344 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1795, allocations: 20.22 kB / 0.8344 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.1796, allocations: 19.98 kB / 0.8344 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.1796, allocations: 23.84 kB / 0.8344 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1797, allocations: 4 kB / 0.8344 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.998e-05/0.1797, allocations: 11.94 kB / 0.8344 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.1797, allocations: 19.97 kB / 0.8345 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.1798, allocations: 23.86 kB / 0.8345 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.1799, allocations: 51.8 kB / 0.8345 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1799, allocations: 3.938 kB / 0.8345 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1799, allocations: 0 / 0.8345 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.1799, allocations: 4 kB / 0.8345 GB, free: 6.406 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.0005005/0.1804, allocations: 294.2 kB / 0.8348 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1805, allocations: 9.938 kB / 0.8348 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.1805, allocations: 34.75 kB / 0.8349 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.1805, allocations: 16.83 kB / 0.8349 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.1806, allocations: 118.4 kB / 0.835 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.462e-05/0.1807, allocations: 59.95 kB / 0.8351 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.1807, allocations: 8.375 kB / 0.8351 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.181, allocations: 99.67 kB / 0.8352 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.181, allocations: 0 / 0.8352 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.181, allocations: 4 kB / 0.8352 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.181, allocations: 7.922 kB / 0.8352 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.1812, allocations: 43.95 kB / 0.8352 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.1818, allocations: 279.9 kB / 0.8355 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.182, allocations: 46.5 kB / 0.8355 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.1821, allocations: 28.92 kB / 0.8356 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1821, allocations: 4 kB / 0.8356 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1821, allocations: 30.56 kB / 0.8356 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1821, allocations: 4 kB / 0.8356 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003754/0.1825, allocations: 97.59 kB / 0.8357 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1825, allocations: 51.41 kB / 0.8357 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1826, allocations: 109.8 kB / 0.8358 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1826, allocations: 29.7 kB / 0.8359 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.1827, allocations: 88.12 kB / 0.8359 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1827, allocations: 15.84 kB / 0.836 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1828, allocations: 21.66 kB / 0.836 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1829, allocations: 322.8 kB / 0.8363 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.183, allocations: 19.98 kB / 0.8363 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.1831, allocations: 37.69 kB / 0.8363 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.1833, allocations: 53.69 kB / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1833, allocations: 0 / 0.8364 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002482/0.1836, allocations: 89.55 kB / 0.8365 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1836, allocations: 11.98 kB / 0.8365 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1836, allocations: 0 / 0.8365 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1836, allocations: 0 / 0.8365 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1837, allocations: 15.94 kB / 0.8365 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1837, allocations: 3.984 kB / 0.8365 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.1838, allocations: 8 kB / 0.8365 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.1838, allocations: 0 / 0.8365 GB, free: 4.16 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.0001037/0.1839, allocations: 118.5 kB / 0.8366 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.1839, allocations: 15.83 kB / 0.8366 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.1839, allocations: 11.98 kB / 0.8367 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1839, allocations: 0 / 0.8367 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1839, allocations: 0 / 0.8367 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1839, allocations: 0 / 0.8367 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1841, allocations: 140.8 kB / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1841, allocations: 4 kB / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.1842, allocations: 11.98 kB / 0.8368 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1842, allocations: 0 / 0.8368 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.1842, allocations: 0 / 0.8368 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1842, allocations: 8 kB / 0.8368 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1842, allocations: 0 / 0.8368 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1845, allocations: 183.7 kB / 0.837 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.1845, allocations: 3.953 kB / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1845, allocations: 0 / 0.837 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1847, allocations: 11.98 kB / 0.837 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1847, allocations: 7.938 kB / 0.837 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1847, allocations: 7.984 kB / 0.837 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.1848, allocations: 87.59 kB / 0.8371 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1848, allocations: 0 / 0.8371 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000218/0.185, allocations: 8 kB / 0.8371 GB, free: 3.477 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.0006296/0.1856, allocations: 0.7085 MB / 0.8378 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1858, allocations: 51.89 kB / 0.8379 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1858, allocations: 0 / 0.8379 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.1859, allocations: 28.05 kB / 0.8379 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.1862, allocations: 5.375 kB / 0.8379 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1878, allocations: 1.333 MB / 0.8392 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.004e-05/0.1879, allocations: 71.34 kB / 0.8393 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.1879, allocations: 7.984 kB / 0.8393 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.1879, allocations: 15.38 kB / 0.8393 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.1879, allocations: 7.938 kB / 0.8393 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.2149, allocations: 2.365 MB / 0.8416 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.25, allocations: 3.25 kB / 0.8416 GB, free: 14.9 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.640252721030265] Failed to read output from testmodel.py, exit status != 0: 11.363030543085188 11.392156106 11.20692296 Calling exit ...