Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.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.001521/0.001521, allocations: 98.08 kB / 19.59 MB, free: 2.34 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.001721/0.001721, allocations: 216.4 kB / 22.87 MB, free: 5.621 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.413/1.413, allocations: 230.5 MB / 256.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8959/0.8959, allocations: 144.9 MB / 457.8 MB, free: 15.54 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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: translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") [Timeout 660] "Notification: BuildSysPro 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.002091/0.002091, allocations: 68.27 kB / 0.6339 GB, free: 6.926 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1726, allocations: 87.89 MB / 0.7197 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003823/0.1764, allocations: 2.602 MB / 0.7223 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1775, allocations: 0.7128 MB / 0.723 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1777, allocations: 7.938 kB / 0.723 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.1778, allocations: 55.45 kB / 0.723 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.178, allocations: 67.3 kB / 0.7231 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1783, allocations: 115.8 kB / 0.7232 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003582/0.1787, allocations: 322.7 kB / 0.7235 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.1789, allocations: 125.7 kB / 0.7236 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.1791, allocations: 127.5 kB / 0.7237 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.1793, allocations: 135.3 kB / 0.7239 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.1793, allocations: 28 kB / 0.7239 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.1794, allocations: 32 kB / 0.7239 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.1794, allocations: 63.77 kB / 0.724 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.1796, allocations: 147.2 kB / 0.7241 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.1799, allocations: 354.5 kB / 0.7245 GB, free: 10.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.18, allocations: 0 / 0.7245 GB, free: 10.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.18, allocations: 7.938 kB / 0.7245 GB, free: 10.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.18, allocations: 0 / 0.7245 GB, free: 10.14 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008141/0.1808, allocations: 0.5051 MB / 0.725 GB, free: 9.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1808, allocations: 12.03 kB / 0.725 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.1811, allocations: 56.62 kB / 0.725 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.1814, allocations: 231.1 kB / 0.7252 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.1814, allocations: 16.88 kB / 0.7253 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.1815, allocations: 24.38 kB / 0.7253 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.1819, allocations: 220.4 kB / 0.7255 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1819, allocations: 0 / 0.7255 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.1819, allocations: 11.98 kB / 0.7255 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1819, allocations: 8 kB / 0.7255 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.1823, allocations: 165.9 kB / 0.7257 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.1835, allocations: 0.8369 MB / 0.7265 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.1839, allocations: 114.7 kB / 0.7266 GB, free: 7.801 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.184, allocations: 56.83 kB / 0.7267 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.184, allocations: 0 / 0.7267 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.184, allocations: 30.56 kB / 0.7267 GB, free: 7.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.184, allocations: 0 / 0.7267 GB, free: 7.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004539/0.1845, allocations: 177.6 kB / 0.7269 GB, free: 7.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1845, allocations: 55.41 kB / 0.7269 GB, free: 7.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.1848, allocations: 284.5 kB / 0.7272 GB, free: 7.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1849, allocations: 25.7 kB / 0.7272 GB, free: 7.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.185, allocations: 176.2 kB / 0.7274 GB, free: 6.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.185, allocations: 27.75 kB / 0.7274 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.1851, allocations: 33.66 kB / 0.7274 GB, free: 6.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1852, allocations: 334.8 kB / 0.7277 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.1853, allocations: 31.98 kB / 0.7278 GB, free: 6.535 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.1854, allocations: 47.97 kB / 0.7278 GB, free: 6.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.1856, allocations: 89.08 kB / 0.7279 GB, free: 6.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1856, allocations: 0 / 0.7279 GB, free: 6.398 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002881/0.1859, allocations: 137.5 kB / 0.728 GB, free: 6.258 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1859, allocations: 4 kB / 0.728 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1859, allocations: 3.938 kB / 0.728 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.186, allocations: 0 / 0.728 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1861, allocations: 31.92 kB / 0.7281 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1861, allocations: 0 / 0.7281 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.1862, allocations: 31.75 kB / 0.7281 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1862, allocations: 0 / 0.7281 GB, free: 6.188 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000126/0.1864, allocations: 133.8 kB / 0.7282 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.1864, allocations: 27.81 kB / 0.7283 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.781e-05/0.1865, allocations: 29.83 kB / 0.7283 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1865, allocations: 4 kB / 0.7283 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1865, allocations: 3.938 kB / 0.7283 GB, free: 5.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1865, allocations: 3.938 kB / 0.7283 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.1868, allocations: 256.6 kB / 0.7285 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1868, allocations: 0 / 0.7285 GB, free: 5.684 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1869, allocations: 23.97 kB / 0.7286 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1869, allocations: 0 / 0.7286 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1869, allocations: 8 kB / 0.7286 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1869, allocations: 3.938 kB / 0.7286 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1869, allocations: 0 / 0.7286 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.1872, allocations: 243.2 kB / 0.7288 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.1873, allocations: 19.86 kB / 0.7288 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1873, allocations: 7.984 kB / 0.7288 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1875, allocations: 7.984 kB / 0.7288 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.1875, allocations: 15.91 kB / 0.7289 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.1875, allocations: 8 kB / 0.7289 GB, free: 5.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002032/0.1877, allocations: 211.1 kB / 0.7291 GB, free: 5.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1877, allocations: 0 / 0.7291 GB, free: 5.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002626/0.188, allocations: 43.89 kB / 0.7291 GB, free: 5.086 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanExpression.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 9.241e-05/0.1881, allocations: 95.25 kB / 0.7292 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.1884, allocations: 87.89 kB / 0.7293 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1884, allocations: 0 / 0.7293 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1885, allocations: 59.94 kB / 0.7293 GB, free: 4.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1888, allocations: 39.23 kB / 0.7294 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/0.1895, allocations: 450.1 kB / 0.7298 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.1897, allocations: 146.8 kB / 0.73 GB, free: 4.168 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.1897, allocations: 27.44 kB / 0.73 GB, free: 4.141 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1897, allocations: 0 / 0.73 GB, free: 4.141 MB / 0.545 GB Notification: Performance of Templates: time 0.004763/0.1945, allocations: 2.864 MB / 0.7328 GB, free: 1.293 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.sim & ./BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.747966775670648] Failed to read output from testmodel.py, exit status != 0: 0.20256661623716354 0.215640407 0.032883905000000005 Calling exit ...