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.0007583/0.0007584, allocations: 90.83 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008846/0.0008846, allocations: 181.2 kB / 16.92 MB, free: 6.926 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.355 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.027/1.027, allocations: 143.2 MB / 435.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 12 kB / 0.517 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 83.41 MB / 0.5985 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9925/1.159, allocations: 294.1 MB / 0.8857 GB, free: 53.21 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07621/1.235, allocations: 49.78 MB / 0.9343 GB, free: 52.44 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01287/1.248, allocations: 261.9 kB / 0.9346 GB, free: 52.44 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01109/1.259, allocations: 2.78 MB / 0.9373 GB, free: 52.38 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03202/1.291, allocations: 8.416 MB / 0.9455 GB, free: 51.88 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01954/1.311, allocations: 6.02 MB / 0.9514 GB, free: 50.82 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03213/1.343, allocations: 24.58 MB / 0.9754 GB, free: 38.26 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01103/1.354, allocations: 4.716 MB / 0.98 GB, free: 35.52 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01672/1.371, allocations: 6.19 MB / 0.986 GB, free: 32.23 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009658/1.381, allocations: 4.897 MB / 0.9908 GB, free: 27.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002336/1.383, allocations: 236 kB / 0.991 GB, free: 27.54 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01364/1.397, allocations: 3.904 MB / 0.9948 GB, free: 23.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002863/1.4, allocations: 1.128 MB / 0.9959 GB, free: 22.82 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008838/1.409, allocations: 3.325 MB / 0.9992 GB, free: 19.51 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01414/1.423, allocations: 8.165 MB / 1.007 GB, free: 11.73 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.423, allocations: 4 kB / 1.007 GB, free: 11.73 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.328e-06/1.423, allocations: 0 / 1.007 GB, free: 11.73 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004764/1.423, allocations: 0 / 1.007 GB, free: 11.73 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.01336/1.437, allocations: 6.209 MB / 1.013 GB, free: 5.473 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.437, allocations: 8.031 kB / 1.013 GB, free: 5.465 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/1.44, allocations: 0.7803 MB / 1.014 GB, free: 4.676 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/1.452, allocations: 5.249 MB / 1.019 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/1.452, allocations: 319.7 kB / 1.019 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/1.453, allocations: 435.9 kB / 1.02 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/1.465, allocations: 4.392 MB / 1.024 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/1.465, allocations: 15.78 kB / 1.024 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006163/1.466, allocations: 172 kB / 1.024 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/1.466, allocations: 123.9 kB / 1.024 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006353/1.472, allocations: 2.965 MB / 1.027 GB, free: 6.844 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.03349/1.506, allocations: 25.11 MB / 1.052 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003675/1.51, allocations: 2.764 MB / 1.055 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001771/1.512, allocations: 0.9954 MB / 1.056 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003159/1.515, allocations: 3.922 MB / 1.059 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/1.515, allocations: 64.56 kB / 1.059 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 6.172e-06/1.515, allocations: 0 / 1.059 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01183/1.527, allocations: 4.119 MB / 1.063 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/1.527, allocations: 77.34 kB / 1.064 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008905/1.536, allocations: 4.232 MB / 1.068 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005778/1.536, allocations: 77.7 kB / 1.068 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00266/1.539, allocations: 2.804 MB / 1.07 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.54, allocations: 0.7606 MB / 1.071 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/1.541, allocations: 227.6 kB / 1.071 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/1.541, allocations: 313 kB / 1.072 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/1.543, allocations: 0.8138 MB / 1.073 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/1.545, allocations: 1.826 MB / 1.074 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003944/1.549, allocations: 2.525 MB / 1.077 GB, free: 496 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-05/1.549, allocations: 8 kB / 1.077 GB, free: 488 kB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009042/1.558, allocations: 3.57 MB / 1.08 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005341/1.559, allocations: 0.7474 MB / 1.081 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/1.559, allocations: 20 kB / 1.081 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/1.561, allocations: 0.5847 MB / 1.082 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.563, allocations: 0.5577 MB / 1.082 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/1.566, allocations: 2.696 MB / 1.085 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00522/1.571, allocations: 0.5985 MB / 1.085 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005144/1.571, allocations: 136 kB / 1.085 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.571, allocations: 4 kB / 1.085 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005812/1.577, allocations: 2.821 MB / 1.088 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.328e-05/1.577, allocations: 24 kB / 1.088 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/1.578, allocations: 368 kB / 1.089 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.58, allocations: 0.5499 MB / 1.089 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/1.589, allocations: 7.725 MB / 1.097 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00529/1.594, allocations: 0.5499 MB / 1.097 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006103/1.595, allocations: 131.9 kB / 1.097 GB, free: 10.29 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.003036/1.598, allocations: 1.02 MB / 1.098 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001695/1.6, allocations: 0.506 MB / 1.099 GB, free: 8.75 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007528/1.607, allocations: 3.595 MB / 1.102 GB, free: 5.105 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.588e-05/1.607, allocations: 35.98 kB / 1.102 GB, free: 5.07 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/1.607, allocations: 4 kB / 1.102 GB, free: 5.066 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003962/1.611, allocations: 2.454 MB / 1.105 GB, free: 2.566 MB / 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.0184/1.63, allocations: 8.256 MB / 1.113 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/1.63, allocations: 4 kB / 1.113 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/1.631, allocations: 367.6 kB / 1.113 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007666/1.632, allocations: 312.5 kB / 1.113 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/1.632, allocations: 67.97 kB / 1.114 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/1.634, allocations: 2.491 MB / 1.116 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.634, allocations: 3.938 kB / 1.116 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008043/1.642, allocations: 4.353 MB / 1.12 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003324/1.646, allocations: 0.9972 MB / 1.121 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001352/1.647, allocations: 43.94 kB / 1.121 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004763/1.652, allocations: 434.7 kB / 1.122 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004277/1.652, allocations: 149.8 kB / 1.122 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004103/1.653, allocations: 115.9 kB / 1.122 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.006306/1.659, allocations: 2.793 MB / 1.125 GB, free: 13.82 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.11e-07/1.659, allocations: 0 / 1.125 GB, free: 13.82 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01401/1.673, allocations: 3.269 MB / 1.128 GB, free: 10.55 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.003956/1.677, allocations: 1.556 MB / 1.129 GB, free: 9.137 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.009569/1.687, allocations: 4.438 MB / 1.134 GB, free: 4.645 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.687, allocations: 0 / 1.134 GB, free: 4.645 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/1.689, allocations: 1.248 MB / 1.135 GB, free: 3.395 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01779/1.707, allocations: 2.645 MB / 1.137 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/1.728, allocations: 11.66 MB / 1.149 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003795/1.731, allocations: 2.858 MB / 1.152 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.733, allocations: 431.2 kB / 1.152 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of SimCode: time 1.021e-06/1.733, allocations: 0 / 1.152 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of Templates: time 0.5344/2.267, allocations: 191.9 MB / 1.339 GB, free: 191.2 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)