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.005947/0.005948, allocations: 101.5 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.001295/0.001295, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 1/1, allocations: 143 MB / 433.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.5955 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5324, allocations: 82.03 MB / 0.6756 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Building.Examples.HeatRecoveryVentilation): time 0.003475/0.5359, allocations: 2.563 MB / 0.6781 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.5371, allocations: 0.6195 MB / 0.6787 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.5373, allocations: 10.97 kB / 0.6787 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.5375, allocations: 51.05 kB / 0.6788 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.5377, allocations: 67.42 kB / 0.6788 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.5379, allocations: 88.95 kB / 0.6789 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.5383, allocations: 327.4 kB / 0.6792 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.5386, allocations: 179.5 kB / 0.6794 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.5388, allocations: 121.6 kB / 0.6795 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.539, allocations: 129.4 kB / 0.6796 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.539, allocations: 28.34 kB / 0.6797 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.563e-05/0.5391, allocations: 31.75 kB / 0.6797 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.5391, allocations: 63.05 kB / 0.6798 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.5393, allocations: 139.9 kB / 0.6799 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.5397, allocations: 352.3 kB / 0.6802 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5397, allocations: 1.344 kB / 0.6802 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5397, allocations: 0 / 0.6802 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.5397, allocations: 0 / 0.6802 GB, free: 13.84 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.0008457/0.5406, allocations: 0.5659 MB / 0.6808 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.5406, allocations: 9.844 kB / 0.6808 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.5407, allocations: 32.72 kB / 0.6808 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.5411, allocations: 277.3 kB / 0.6811 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.5411, allocations: 22.41 kB / 0.6811 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.5411, allocations: 24.25 kB / 0.6811 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.5416, allocations: 228.2 kB / 0.6813 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5416, allocations: 0 / 0.6813 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.5416, allocations: 10.25 kB / 0.6814 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.5416, allocations: 5.75 kB / 0.6814 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.542, allocations: 162.1 kB / 0.6815 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.5432, allocations: 0.89 MB / 0.6824 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.5436, allocations: 115 kB / 0.6825 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.5438, allocations: 51.81 kB / 0.6825 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5438, allocations: 0 / 0.6825 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.5438, allocations: 36.03 kB / 0.6826 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 2.775e-06/0.5438, allocations: 0 / 0.6826 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004583/0.5443, allocations: 179.5 kB / 0.6827 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5443, allocations: 52.53 kB / 0.6828 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.5446, allocations: 281.8 kB / 0.6831 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.5447, allocations: 25.7 kB / 0.6831 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.5448, allocations: 167.3 kB / 0.6833 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.5448, allocations: 44.23 kB / 0.6833 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.5449, allocations: 28.58 kB / 0.6833 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.545, allocations: 331.7 kB / 0.6836 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5451, allocations: 36.17 kB / 0.6837 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.49e-05/0.5452, allocations: 41.22 kB / 0.6837 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.5454, allocations: 85.86 kB / 0.6838 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5454, allocations: 4 kB / 0.6838 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002635/0.5457, allocations: 139.2 kB / 0.6839 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5457, allocations: 7.062 kB / 0.6839 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5458, allocations: 0 / 0.6839 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.5458, allocations: 1.375 kB / 0.6839 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.5459, allocations: 20.48 kB / 0.684 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5459, allocations: 0 / 0.684 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.5461, allocations: 33.39 kB / 0.684 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.5461, allocations: 1.375 kB / 0.684 GB, free: 10.7 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.0001308/0.5462, allocations: 140.8 kB / 0.6841 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.5463, allocations: 22.72 kB / 0.6841 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.5463, allocations: 28.66 kB / 0.6842 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.5464, allocations: 1.375 kB / 0.6842 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5464, allocations: 1.375 kB / 0.6842 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5464, allocations: 3.938 kB / 0.6842 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.5467, allocations: 285.7 kB / 0.6845 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5467, allocations: 4 kB / 0.6845 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.5468, allocations: 19.11 kB / 0.6845 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5468, allocations: 1.375 kB / 0.6845 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.5469, allocations: 7.984 kB / 0.6845 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5469, allocations: 1.375 kB / 0.6845 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5469, allocations: 0 / 0.6845 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.5472, allocations: 243.9 kB / 0.6847 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.5473, allocations: 102.3 kB / 0.6848 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.5473, allocations: 1.375 kB / 0.6848 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.5474, allocations: 9.484 kB / 0.6848 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.5475, allocations: 19.98 kB / 0.6848 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.5475, allocations: 2.75 kB / 0.6848 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002114/0.5477, allocations: 203.8 kB / 0.685 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.623e-06/0.5477, allocations: 0 / 0.685 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000264/0.548, allocations: 48.97 kB / 0.6851 GB, free: 9.75 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 9.879e-05/0.5481, allocations: 100.9 kB / 0.6852 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.5484, allocations: 92.12 kB / 0.6853 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5484, allocations: 1.25 kB / 0.6853 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.5485, allocations: 44.39 kB / 0.6853 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.5489, allocations: 49.14 kB / 0.6854 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000731/0.5496, allocations: 414.1 kB / 0.6858 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.55, allocations: 0.7516 MB / 0.6865 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.659e-05/0.5501, allocations: 26.16 kB / 0.6865 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.5501, allocations: 17.41 kB / 0.6865 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.5502, allocations: 0 / 0.6865 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of Templates: time 0.005946/0.5561, allocations: 2.275 MB / 0.6888 GB, free: 7.395 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)