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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") translateModel(BuildSysPro.Building.Examples.HeatRecoveryVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=24,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004974/0.004974, allocations: 101.8 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 186.6 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.927/0.927, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 67.89 kB / 0.5955 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3316, allocations: 82.02 MB / 0.6756 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.00298/0.3346, allocations: 2.569 MB / 0.6781 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008976/0.3355, allocations: 0.6087 MB / 0.6787 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.3357, allocations: 13.31 kB / 0.6787 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.3358, allocations: 51.61 kB / 0.6788 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.336, allocations: 75.23 kB / 0.6788 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.3362, allocations: 85.75 kB / 0.6789 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.3365, allocations: 322.9 kB / 0.6792 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.3368, allocations: 180.1 kB / 0.6794 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.3369, allocations: 116.7 kB / 0.6795 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3371, allocations: 130.4 kB / 0.6796 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.3372, allocations: 27.91 kB / 0.6796 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-05/0.3372, allocations: 29.03 kB / 0.6797 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.3373, allocations: 66.41 kB / 0.6797 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3374, allocations: 143.3 kB / 0.6799 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.3377, allocations: 352.9 kB / 0.6802 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3377, allocations: 4 kB / 0.6802 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3377, allocations: 0 / 0.6802 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.3377, allocations: 1.219 kB / 0.6802 GB, free: 13.83 MB / 0.5137 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.0007443/0.3385, allocations: 0.5663 MB / 0.6808 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.3385, allocations: 9.219 kB / 0.6808 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.3386, allocations: 37.19 kB / 0.6808 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3389, allocations: 276.4 kB / 0.6811 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3389, allocations: 19.38 kB / 0.6811 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.339, allocations: 31.52 kB / 0.6811 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.3394, allocations: 219.8 kB / 0.6813 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3394, allocations: 0 / 0.6813 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.3394, allocations: 14.34 kB / 0.6813 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3394, allocations: 6.125 kB / 0.6814 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.3398, allocations: 166.6 kB / 0.6815 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.3408, allocations: 0.8806 MB / 0.6824 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.3412, allocations: 124.3 kB / 0.6825 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3413, allocations: 46.59 kB / 0.6825 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.3413, allocations: 1.094 kB / 0.6825 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3414, allocations: 39.7 kB / 0.6826 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 2.525e-06/0.3414, allocations: 0 / 0.6826 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004108/0.3418, allocations: 174.9 kB / 0.6827 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.3418, allocations: 53.62 kB / 0.6828 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.3421, allocations: 276.7 kB / 0.6831 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3421, allocations: 27.08 kB / 0.6831 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.3422, allocations: 167.3 kB / 0.6832 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.3423, allocations: 39.52 kB / 0.6833 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.3423, allocations: 28.59 kB / 0.6833 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.3424, allocations: 332.3 kB / 0.6836 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3425, allocations: 39.59 kB / 0.6837 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.3426, allocations: 36.61 kB / 0.6837 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.3428, allocations: 91.55 kB / 0.6838 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3428, allocations: 0 / 0.6838 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002569/0.3431, allocations: 147.1 kB / 0.6839 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3431, allocations: 5.844 kB / 0.6839 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3431, allocations: 1.375 kB / 0.6839 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3431, allocations: 0 / 0.6839 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3433, allocations: 24.48 kB / 0.684 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3433, allocations: 1.375 kB / 0.684 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.3434, allocations: 27.95 kB / 0.684 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3434, allocations: 2.75 kB / 0.684 GB, free: 10.68 MB / 0.5137 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.0001021/0.3435, allocations: 136.8 kB / 0.6841 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.3436, allocations: 22.72 kB / 0.6841 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.3436, allocations: 28.66 kB / 0.6842 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3436, allocations: 1.375 kB / 0.6842 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3437, allocations: 0 / 0.6842 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3437, allocations: 9.297 kB / 0.6842 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.3439, allocations: 288.3 kB / 0.6844 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3439, allocations: 1.375 kB / 0.6845 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3441, allocations: 19.11 kB / 0.6845 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3441, allocations: 4 kB / 0.6845 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3441, allocations: 5.375 kB / 0.6845 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3441, allocations: 0 / 0.6845 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3441, allocations: 1.375 kB / 0.6845 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3444, allocations: 238.9 kB / 0.6847 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.3445, allocations: 106 kB / 0.6848 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.3445, allocations: 5.156 kB / 0.6848 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3446, allocations: 13.73 kB / 0.6848 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3447, allocations: 17.05 kB / 0.6848 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3447, allocations: 1.281 kB / 0.6848 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001685/0.3449, allocations: 200.6 kB / 0.685 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.272e-06/0.3449, allocations: 0 / 0.685 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002541/0.3451, allocations: 48.56 kB / 0.6851 GB, free: 9.738 MB / 0.5137 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 7.058e-05/0.3452, allocations: 97.09 kB / 0.6852 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3455, allocations: 97.14 kB / 0.6853 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3455, allocations: 3.938 kB / 0.6853 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3456, allocations: 51.72 kB / 0.6853 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.346, allocations: 38.05 kB / 0.6854 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.3466, allocations: 413.7 kB / 0.6858 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3468, allocations: 0.7485 MB / 0.6865 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.621e-05/0.3469, allocations: 20.28 kB / 0.6865 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.347, allocations: 21.72 kB / 0.6865 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.347, allocations: 1.25 kB / 0.6865 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of Templates: time 0.004702/0.3517, allocations: 2.234 MB / 0.6887 GB, free: 7.414 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.Building.Examples.HeatRecoveryVentilation.makefile (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)