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.001557/0.001557, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001664/0.001664, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8898/0.8898, allocations: 145 MB / 458.2 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.002001/0.002001, allocations: 66.75 kB / 0.6343 GB, free: 6.254 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1818, allocations: 87.9 MB / 0.7201 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.00406/0.1859, allocations: 2.434 MB / 0.7225 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1872, allocations: 0.67 MB / 0.7231 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.1873, allocations: 11.88 kB / 0.7231 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.1875, allocations: 55.39 kB / 0.7232 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.1877, allocations: 67.36 kB / 0.7233 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.188, allocations: 119.8 kB / 0.7234 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.1884, allocations: 322.6 kB / 0.7237 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.1887, allocations: 121.7 kB / 0.7238 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1889, allocations: 115.6 kB / 0.7239 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.1891, allocations: 119.3 kB / 0.724 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.1891, allocations: 28 kB / 0.724 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.1892, allocations: 36 kB / 0.7241 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.1893, allocations: 67.7 kB / 0.7241 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.1894, allocations: 115.4 kB / 0.7243 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.1898, allocations: 362.4 kB / 0.7246 GB, free: 9.727 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1898, allocations: 0 / 0.7246 GB, free: 9.727 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1898, allocations: 0 / 0.7246 GB, free: 9.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.1898, allocations: 4 kB / 0.7246 GB, free: 9.723 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.0008373/0.1906, allocations: 0.5034 MB / 0.7251 GB, free: 9.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1907, allocations: 12.03 kB / 0.7251 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.1909, allocations: 56.69 kB / 0.7252 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.1913, allocations: 223.1 kB / 0.7254 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1914, allocations: 16.88 kB / 0.7254 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.1914, allocations: 24.38 kB / 0.7254 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.1918, allocations: 224.3 kB / 0.7256 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1919, allocations: 0 / 0.7256 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.1919, allocations: 8 kB / 0.7256 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1919, allocations: 12 kB / 0.7256 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.1922, allocations: 161.9 kB / 0.7258 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1933, allocations: 0.5621 MB / 0.7264 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.1937, allocations: 114.6 kB / 0.7265 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.1938, allocations: 56.89 kB / 0.7265 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1938, allocations: 0 / 0.7265 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1939, allocations: 30.56 kB / 0.7265 GB, free: 7.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1939, allocations: 4 kB / 0.7265 GB, free: 7.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004376/0.1943, allocations: 169.6 kB / 0.7267 GB, free: 7.441 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1943, allocations: 55.41 kB / 0.7268 GB, free: 7.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1945, allocations: 204.2 kB / 0.727 GB, free: 7.168 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1946, allocations: 29.7 kB / 0.727 GB, free: 7.133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.1947, allocations: 184.2 kB / 0.7272 GB, free: 6.949 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.1947, allocations: 35.69 kB / 0.7272 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.1948, allocations: 29.7 kB / 0.7272 GB, free: 6.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1949, allocations: 334.7 kB / 0.7275 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.195, allocations: 39.97 kB / 0.7276 GB, free: 6.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.989e-05/0.1951, allocations: 39.86 kB / 0.7276 GB, free: 6.465 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.1953, allocations: 80.83 kB / 0.7277 GB, free: 6.383 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1953, allocations: 0 / 0.7277 GB, free: 6.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002846/0.1956, allocations: 137.6 kB / 0.7278 GB, free: 6.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1956, allocations: 4 kB / 0.7278 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1956, allocations: 0 / 0.7278 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1957, allocations: 4 kB / 0.7278 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1958, allocations: 23.92 kB / 0.7279 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1958, allocations: 3.938 kB / 0.7279 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1959, allocations: 23.88 kB / 0.7279 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1959, allocations: 7.938 kB / 0.7279 GB, free: 6.176 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.0001339/0.196, allocations: 133.8 kB / 0.728 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.1961, allocations: 15.91 kB / 0.728 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.1961, allocations: 29.38 kB / 0.7281 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.1961, allocations: 4 kB / 0.7281 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1962, allocations: 0 / 0.7281 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1962, allocations: 0 / 0.7281 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.1964, allocations: 205.1 kB / 0.7283 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1964, allocations: 0 / 0.7283 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.1965, allocations: 23.92 kB / 0.7283 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1965, allocations: 4 kB / 0.7283 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1965, allocations: 4 kB / 0.7283 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1965, allocations: 4 kB / 0.7283 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1965, allocations: 0 / 0.7283 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.1969, allocations: 227.7 kB / 0.7285 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.1969, allocations: 15.98 kB / 0.7285 GB, free: 5.469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.1969, allocations: 7.938 kB / 0.7285 GB, free: 5.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1971, allocations: 7.984 kB / 0.7285 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.1971, allocations: 11.98 kB / 0.7286 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.557e-06/0.1971, allocations: 8 kB / 0.7286 GB, free: 5.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001356/0.1973, allocations: 149.6 kB / 0.7287 GB, free: 5.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1973, allocations: 0 / 0.7287 GB, free: 5.289 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002649/0.1975, allocations: 63.73 kB / 0.7288 GB, free: 5.227 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.0001043/0.1976, allocations: 103.2 kB / 0.7289 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.1979, allocations: 91.89 kB / 0.729 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1979, allocations: 0 / 0.729 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.198, allocations: 47.92 kB / 0.729 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1983, allocations: 28.66 kB / 0.729 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007353/0.199, allocations: 446.1 kB / 0.7294 GB, free: 4.477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.1992, allocations: 142.4 kB / 0.7296 GB, free: 4.316 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.1993, allocations: 19.42 kB / 0.7296 GB, free: 4.297 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.1993, allocations: 3.938 kB / 0.7296 GB, free: 4.293 MB / 0.545 GB Notification: Performance of Templates: time 0.004559/0.2038, allocations: 2.594 MB / 0.7321 GB, free: 1.707 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.77025992423296] Failed to read output from testmodel.py, exit status != 0: 0.21220532804727554 0.22622313200000002 0.033416474 Calling exit ...