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.001231/0.001231, 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.001487/0.001487, allocations: 212.5 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.785 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.8972/0.8972, allocations: 145 MB / 457.4 MB, free: 15.29 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.002192/0.002192, allocations: 72.72 kB / 0.6335 GB, free: 6.262 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1742, allocations: 87.89 MB / 0.7193 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.004262/0.1784, allocations: 2.446 MB / 0.7217 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1798, allocations: 0.67 MB / 0.7224 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.1801, allocations: 11.94 kB / 0.7224 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1803, allocations: 55.39 kB / 0.7225 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1805, allocations: 67.36 kB / 0.7225 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.1809, allocations: 111.8 kB / 0.7226 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.1813, allocations: 326.6 kB / 0.7229 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.1816, allocations: 117.7 kB / 0.723 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.1819, allocations: 123.6 kB / 0.7232 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1821, allocations: 111.4 kB / 0.7233 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.1821, allocations: 28 kB / 0.7233 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.1822, allocations: 35.98 kB / 0.7233 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.1823, allocations: 67.7 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1824, allocations: 115.4 kB / 0.7235 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.1828, allocations: 362.4 kB / 0.7239 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1828, allocations: 0 / 0.7239 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1828, allocations: 0 / 0.7239 GB, free: 9.734 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.1828, allocations: 0 / 0.7239 GB, free: 9.734 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.0009141/0.1838, allocations: 0.5051 MB / 0.7243 GB, free: 9.199 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1838, allocations: 12.03 kB / 0.7244 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.184, allocations: 52.69 kB / 0.7244 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.1845, allocations: 227.1 kB / 0.7246 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.1845, allocations: 16.88 kB / 0.7246 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.1846, allocations: 24.38 kB / 0.7247 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.185, allocations: 228.3 kB / 0.7249 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.185, allocations: 0 / 0.7249 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.185, allocations: 12 kB / 0.7249 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1851, allocations: 4 kB / 0.7249 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.1854, allocations: 165.9 kB / 0.7251 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1865, allocations: 0.5699 MB / 0.7256 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.1869, allocations: 118.6 kB / 0.7257 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.1871, allocations: 48.83 kB / 0.7258 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1871, allocations: 4 kB / 0.7258 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1871, allocations: 34.56 kB / 0.7258 GB, free: 7.613 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.1871, allocations: 0 / 0.7258 GB, free: 7.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004514/0.1876, allocations: 165.6 kB / 0.726 GB, free: 7.445 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1876, allocations: 51.41 kB / 0.726 GB, free: 7.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.1878, allocations: 212.2 kB / 0.7262 GB, free: 7.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1879, allocations: 29.7 kB / 0.7262 GB, free: 7.133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.188, allocations: 180.2 kB / 0.7264 GB, free: 6.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.188, allocations: 35.69 kB / 0.7264 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.1881, allocations: 25.7 kB / 0.7265 GB, free: 6.887 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1883, allocations: 334.7 kB / 0.7268 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1884, allocations: 39.97 kB / 0.7268 GB, free: 6.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1885, allocations: 35.98 kB / 0.7269 GB, free: 6.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.1887, allocations: 88.83 kB / 0.727 GB, free: 6.387 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1887, allocations: 0 / 0.727 GB, free: 6.387 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002892/0.189, allocations: 133.5 kB / 0.7271 GB, free: 6.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.189, allocations: 4 kB / 0.7271 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.189, allocations: 0 / 0.7271 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.189, allocations: 0 / 0.7271 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1892, allocations: 27.92 kB / 0.7271 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1892, allocations: 0 / 0.7271 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1893, allocations: 27.88 kB / 0.7271 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.1893, allocations: 7.938 kB / 0.7271 GB, free: 6.184 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.000136/0.1894, allocations: 136.9 kB / 0.7273 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.1895, allocations: 15.91 kB / 0.7273 GB, free: 6.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.1895, allocations: 21.39 kB / 0.7273 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1895, allocations: 0 / 0.7273 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1895, allocations: 0 / 0.7273 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1895, allocations: 0 / 0.7273 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.1898, allocations: 213.1 kB / 0.7275 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1898, allocations: 384 / 0.7275 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.19, allocations: 27.92 kB / 0.7275 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.19, allocations: 0 / 0.7275 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.19, allocations: 0 / 0.7275 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.19, allocations: 3.938 kB / 0.7275 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.19, allocations: 0 / 0.7275 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.1903, allocations: 235.2 kB / 0.7278 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.1903, allocations: 19.88 kB / 0.7278 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1904, allocations: 4 kB / 0.7278 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1905, allocations: 15.98 kB / 0.7278 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.1906, allocations: 7.984 kB / 0.7278 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1906, allocations: 4 kB / 0.7278 GB, free: 5.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001531/0.1907, allocations: 153.6 kB / 0.728 GB, free: 5.293 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1907, allocations: 0 / 0.728 GB, free: 5.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002953/0.191, allocations: 55.73 kB / 0.728 GB, free: 5.238 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 0.0001103/0.1911, allocations: 111.2 kB / 0.7281 GB, free: 5.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.1914, allocations: 83.89 kB / 0.7282 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1914, allocations: 4 kB / 0.7282 GB, free: 5.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1916, allocations: 47.92 kB / 0.7283 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.1919, allocations: 29.2 kB / 0.7283 GB, free: 4.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.1927, allocations: 416.4 kB / 0.7287 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.1928, allocations: 142.4 kB / 0.7288 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.542e-05/0.1929, allocations: 13.42 kB / 0.7288 GB, free: 4.348 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.193, allocations: 19.7 kB / 0.7288 GB, free: 4.328 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.193, allocations: 0 / 0.7288 GB, free: 4.328 MB / 0.545 GB Notification: Performance of Templates: time 0.005557/0.1985, allocations: 1.901 MB / 0.7307 GB, free: 2.48 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: 5.3506928868591785] Failed to read output from testmodel.py, exit status != 0: 0.20761904120445251 0.22280491300000002 0.036879432000000004 Calling exit ...