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.001686/0.001686, allocations: 110.7 kB / 16.46 MB, free: 6.5 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.001918/0.001918, allocations: 216 kB / 19.43 MB, free: 3.656 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 9.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002693/0.002693, allocations: 281.2 kB / 309.1 MB, free: 4 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.245/1.245, allocations: 180.9 MB / 0.5333 GB, free: 13.84 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002741/0.002741, allocations: 104.8 kB / 0.7342 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1783, allocations: 95.34 MB / 0.8273 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002848/0.1811, allocations: 1.529 MB / 0.8288 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003247/0.1814, allocations: 129.3 kB / 0.829 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.1815, allocations: 0 / 0.829 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.1815, allocations: 3.938 kB / 0.829 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.667e-05/0.1816, allocations: 7.922 kB / 0.829 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1819, allocations: 71.84 kB / 0.829 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.182, allocations: 63.83 kB / 0.8291 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.1821, allocations: 11.98 kB / 0.8291 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.1822, allocations: 27.92 kB / 0.8291 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.1822, allocations: 15.92 kB / 0.8292 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1823, allocations: 8 kB / 0.8292 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.1823, allocations: 4 kB / 0.8292 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.1823, allocations: 23.91 kB / 0.8292 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.1823, allocations: 15.92 kB / 0.8292 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1825, allocations: 63.94 kB / 0.8293 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1825, allocations: 8 kB / 0.8293 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1825, allocations: 0 / 0.8293 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1825, allocations: 0 / 0.8293 GB, free: 8.031 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.0005722/0.183, allocations: 372.3 kB / 0.8296 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1831, allocations: 8.031 kB / 0.8296 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.1831, allocations: 34.73 kB / 0.8297 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.1832, allocations: 8.891 kB / 0.8297 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.1833, allocations: 168.3 kB / 0.8298 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.1834, allocations: 38.27 kB / 0.8299 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.1834, allocations: 384 / 0.8299 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.1837, allocations: 73.97 kB / 0.8299 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1837, allocations: 0 / 0.8299 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1837, allocations: 11.94 kB / 0.83 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1837, allocations: 4 kB / 0.83 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.1839, allocations: 43.95 kB / 0.83 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.1846, allocations: 324.6 kB / 0.8303 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1847, allocations: 54.42 kB / 0.8304 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1848, allocations: 28.92 kB / 0.8304 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.1849, allocations: 4 kB / 0.8304 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.1849, allocations: 38.56 kB / 0.8304 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1849, allocations: 0 / 0.8304 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0003951/0.1853, allocations: 101.6 kB / 0.8305 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.1853, allocations: 51.41 kB / 0.8306 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1854, allocations: 105.8 kB / 0.8307 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1855, allocations: 29.7 kB / 0.8307 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.1855, allocations: 96.08 kB / 0.8308 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.1855, allocations: 11.83 kB / 0.8308 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.1856, allocations: 17.72 kB / 0.8308 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.1858, allocations: 326.8 kB / 0.8311 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-05/0.1859, allocations: 19.98 kB / 0.8312 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.186, allocations: 33.7 kB / 0.8312 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1861, allocations: 53.67 kB / 0.8312 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1861, allocations: 0 / 0.8312 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002513/0.1864, allocations: 93.55 kB / 0.8313 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1864, allocations: 4 kB / 0.8313 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1864, allocations: 4.031 kB / 0.8313 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1864, allocations: 0 / 0.8313 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1865, allocations: 15.98 kB / 0.8313 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1865, allocations: 0 / 0.8313 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.1866, allocations: 7.984 kB / 0.8314 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.1866, allocations: 0 / 0.8314 GB, free: 5.641 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.638e-05/0.1867, allocations: 121.7 kB / 0.8315 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.1867, allocations: 7.953 kB / 0.8315 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.1868, allocations: 11.91 kB / 0.8315 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1868, allocations: 0 / 0.8315 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1868, allocations: 0 / 0.8315 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.1868, allocations: 3.984 kB / 0.8315 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.187, allocations: 173.6 kB / 0.8317 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.187, allocations: 0 / 0.8317 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.816e-05/0.1871, allocations: 11.98 kB / 0.8317 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1871, allocations: 0 / 0.8317 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1871, allocations: 3.938 kB / 0.8317 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1871, allocations: 0 / 0.8317 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1871, allocations: 4 kB / 0.8317 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1874, allocations: 179.4 kB / 0.8319 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1874, allocations: 81.19 kB / 0.8319 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1875, allocations: 8 kB / 0.8319 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1876, allocations: 7.984 kB / 0.8319 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.1876, allocations: 15.88 kB / 0.832 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1876, allocations: 7.984 kB / 0.832 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.1877, allocations: 87.28 kB / 0.832 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1877, allocations: 0 / 0.832 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002258/0.1879, allocations: 8 kB / 0.8321 GB, free: 4.824 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.0006446/0.1886, allocations: 0.7137 MB / 0.8328 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1888, allocations: 52.22 kB / 0.8328 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1888, allocations: 0 / 0.8328 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.1889, allocations: 24.08 kB / 0.8328 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1892, allocations: 6.328 kB / 0.8328 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.1909, allocations: 1.336 MB / 0.8341 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1913, allocations: 0.6846 MB / 0.8348 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.267e-05/0.1913, allocations: 7.984 kB / 0.8348 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.1914, allocations: 19.38 kB / 0.8348 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.1914, allocations: 0 / 0.8348 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.2156, allocations: 1.807 MB / 0.8366 GB, free: 188 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.33, allocations: 11.75 kB / 0.8366 GB, free: 184 kB / 0.5762 GB " [Timeout remaining time 652] (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: 12.62366865389049] Failed to read output from testmodel.py, exit status != 0: 8.39952041907236 8.418694905 8.233274693 Calling exit ...