Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008906/0.008906, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.002/1.002, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 12 kB / 0.5164 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1604, allocations: 83.41 MB / 0.5978 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9046/1.065, allocations: 294.1 MB / 0.885 GB, free: 53.29 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07462/1.14, allocations: 49.78 MB / 0.9337 GB, free: 52.5 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01441/1.154, allocations: 263.3 kB / 0.9339 GB, free: 52.5 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01183/1.166, allocations: 2.777 MB / 0.9366 GB, free: 52.45 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03055/1.197, allocations: 8.425 MB / 0.9448 GB, free: 51.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01748/1.214, allocations: 6.015 MB / 0.9507 GB, free: 50.89 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02855/1.243, allocations: 24.58 MB / 0.9747 GB, free: 38.35 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009053/1.252, allocations: 4.714 MB / 0.9793 GB, free: 35.61 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01615/1.268, allocations: 6.186 MB / 0.9854 GB, free: 32.29 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009556/1.278, allocations: 4.903 MB / 0.9901 GB, free: 27.81 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002034/1.28, allocations: 232 kB / 0.9904 GB, free: 27.59 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/1.293, allocations: 3.906 MB / 0.9942 GB, free: 23.96 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002816/1.296, allocations: 1.133 MB / 0.9953 GB, free: 22.87 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008304/1.304, allocations: 3.32 MB / 0.9985 GB, free: 19.56 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0225/1.327, allocations: 10.37 MB / 1.009 GB, free: 9.633 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.327, allocations: 0 / 1.009 GB, free: 9.633 MB / 0.67 GB Notification: Performance of FrontEnd: time 5.781e-06/1.327, allocations: 0 / 1.009 GB, free: 9.633 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000382/1.327, allocations: 3.938 kB / 1.009 GB, free: 9.629 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01253/1.34, allocations: 6.209 MB / 1.015 GB, free: 3.375 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.34, allocations: 8.031 kB / 1.015 GB, free: 3.367 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/1.343, allocations: 0.7842 MB / 1.016 GB, free: 2.574 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/1.354, allocations: 5.246 MB / 1.021 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002574/1.354, allocations: 328 kB / 1.021 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007321/1.355, allocations: 427.9 kB / 1.021 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008334/1.363, allocations: 4.392 MB / 1.026 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.487e-05/1.363, allocations: 15.84 kB / 1.026 GB, free: 8 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/1.363, allocations: 176 kB / 1.026 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/1.364, allocations: 119.9 kB / 1.026 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005426/1.369, allocations: 2.968 MB / 1.029 GB, free: 4.738 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0286/1.398, allocations: 25.09 MB / 1.053 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/1.401, allocations: 2.763 MB / 1.056 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/1.403, allocations: 1.007 MB / 1.057 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00337/1.406, allocations: 3.917 MB / 1.061 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.281e-05/1.406, allocations: 68.5 kB / 1.061 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 6.933e-06/1.406, allocations: 0 / 1.061 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.0111/1.417, allocations: 4.117 MB / 1.065 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/1.418, allocations: 81.41 kB / 1.065 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007797/1.425, allocations: 4.225 MB / 1.069 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005158/1.426, allocations: 81.7 kB / 1.069 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002283/1.428, allocations: 2.803 MB / 1.072 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009837/1.429, allocations: 0.7566 MB / 1.073 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/1.429, allocations: 235.6 kB / 1.073 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/1.43, allocations: 305.1 kB / 1.073 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/1.431, allocations: 0.8099 MB / 1.074 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/1.433, allocations: 1.834 MB / 1.076 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/1.437, allocations: 2.529 MB / 1.078 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/1.437, allocations: 4 kB / 1.078 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008196/1.445, allocations: 3.575 MB / 1.082 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004829/1.445, allocations: 0.7316 MB / 1.082 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/1.445, allocations: 24 kB / 1.082 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/1.448, allocations: 0.5961 MB / 1.083 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/1.45, allocations: 0.5577 MB / 1.084 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/1.452, allocations: 2.7 MB / 1.086 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/1.457, allocations: 0.5984 MB / 1.087 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003947/1.458, allocations: 128 kB / 1.087 GB, free: 4.992 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.458, allocations: 8.875 kB / 1.087 GB, free: 4.984 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005285/1.463, allocations: 2.826 MB / 1.09 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/1.463, allocations: 27.98 kB / 1.09 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.464, allocations: 363.4 kB / 1.09 GB, free: 1.711 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/1.466, allocations: 0.5499 MB / 1.091 GB, free: 1.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008477/1.475, allocations: 7.725 MB / 1.098 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005853/1.481, allocations: 0.5465 MB / 1.099 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005276/1.481, allocations: 132 kB / 1.099 GB, free: 8.188 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002653/1.484, allocations: 1.016 MB / 1.1 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/1.485, allocations: 0.5055 MB / 1.1 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006767/1.492, allocations: 3.594 MB / 1.104 GB, free: 3 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/1.492, allocations: 31.98 kB / 1.104 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.492, allocations: 7.984 kB / 1.104 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003825/1.496, allocations: 2.461 MB / 1.106 GB, free: 464 kB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/1.512, allocations: 8.254 MB / 1.114 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/1.512, allocations: 8 kB / 1.114 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.513, allocations: 367.5 kB / 1.115 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007537/1.514, allocations: 310.5 kB / 1.115 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/1.514, allocations: 63.97 kB / 1.115 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/1.516, allocations: 2.498 MB / 1.117 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.516, allocations: 192 / 1.117 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007656/1.524, allocations: 4.361 MB / 1.122 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002847/1.526, allocations: 0.9995 MB / 1.123 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008274/1.527, allocations: 47.94 kB / 1.123 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00343/1.531, allocations: 430.7 kB / 1.123 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/1.531, allocations: 145.8 kB / 1.123 GB, free: 14.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/1.531, allocations: 115.9 kB / 1.123 GB, free: 14.48 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00521/1.536, allocations: 2.789 MB / 1.126 GB, free: 11.71 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.5e-07/1.536, allocations: 0 / 1.126 GB, free: 11.71 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01293/1.549, allocations: 3.269 MB / 1.129 GB, free: 8.438 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003419/1.553, allocations: 1.547 MB / 1.131 GB, free: 7.031 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008061/1.561, allocations: 4.451 MB / 1.135 GB, free: 2.527 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.561, allocations: 0 / 1.135 GB, free: 2.527 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/1.563, allocations: 1.236 MB / 1.136 GB, free: 1.289 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0153/1.578, allocations: 2.651 MB / 1.139 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.595, allocations: 11.57 MB / 1.15 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002497/1.598, allocations: 2.87 MB / 1.153 GB, free: 192 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.2983/1.896, allocations: 1.167 MB / 1.154 GB, free: 323.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.897, allocations: 415 kB / 1.155 GB, free: 323.3 MB / 0.8106 GB Notification: Performance of SimCode: time 1.172e-06/1.897, allocations: 1.562 kB / 1.155 GB, free: 323.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.168/2.065, allocations: 104.5 MB / 1.257 GB, free: 274.3 MB / 0.8106 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)