Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0007771/0.0007774, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009076/0.0009078, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005475/0.0005476, allocations: 19.98 kB / 0.6243 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5059, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.693/1.199, allocations: 277.5 MB / 0.9991 GB, free: 40.78 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04931/1.248, allocations: 46.47 MB / 1.045 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009467/1.258, allocations: 246.1 kB / 1.045 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.008821/1.267, allocations: 2.388 MB / 1.047 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02108/1.288, allocations: 7.226 MB / 1.054 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01465/1.302, allocations: 4.652 MB / 1.059 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02695/1.329, allocations: 20.94 MB / 1.079 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01126/1.341, allocations: 4.261 MB / 1.083 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0145/1.355, allocations: 5.895 MB / 1.089 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009631/1.365, allocations: 4.592 MB / 1.094 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002492/1.367, allocations: 228 kB / 1.094 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01121/1.379, allocations: 2.631 MB / 1.096 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002412/1.381, allocations: 1.057 MB / 1.097 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003531/1.385, allocations: 1.373 MB / 1.099 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01174/1.396, allocations: 7.376 MB / 1.106 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.396, allocations: 0 / 1.106 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/1.396, allocations: 0 / 1.106 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003374/1.397, allocations: 0 / 1.106 GB, free: 14.1 MB / 0.7794 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.01239/1.409, allocations: 6.233 MB / 1.112 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.409, allocations: 8.031 kB / 1.112 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/1.412, allocations: 0.7881 MB / 1.113 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/1.422, allocations: 4.941 MB / 1.118 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000295/1.423, allocations: 320.1 kB / 1.118 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008207/1.423, allocations: 432 kB / 1.118 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008002/1.431, allocations: 4.325 MB / 1.123 GB, free: 12.56 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/1.432, allocations: 19.78 kB / 1.123 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004/1.432, allocations: 175.9 kB / 1.123 GB, free: 12.37 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/1.432, allocations: 116 kB / 1.123 GB, free: 12.26 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005735/1.438, allocations: 2.941 MB / 1.126 GB, free: 9.312 MB / 0.795 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.0287/1.467, allocations: 24.98 MB / 1.15 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/1.47, allocations: 2.761 MB / 1.153 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/1.471, allocations: 0.9953 MB / 1.154 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003069/1.474, allocations: 3.927 MB / 1.158 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.3e-05/1.474, allocations: 56.56 kB / 1.158 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=217): time 4.248e-06/1.474, allocations: 0 / 1.158 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=217): time 0.01002/1.484, allocations: 4.057 MB / 1.162 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.485, allocations: 77.41 kB / 1.162 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006992/1.492, allocations: 4.16 MB / 1.166 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003682/1.492, allocations: 77.7 kB / 1.166 GB, free: 13 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002233/1.494, allocations: 2.771 MB / 1.169 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008977/1.495, allocations: 0.7702 MB / 1.169 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/1.495, allocations: 56 kB / 1.169 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002079/1.495, allocations: 419.8 kB / 1.17 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/1.497, allocations: 0.7865 MB / 1.171 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/1.499, allocations: 1.802 MB / 1.172 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/1.501, allocations: 1.077 MB / 1.173 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/1.501, allocations: 4 kB / 1.173 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007405/1.508, allocations: 3.493 MB / 1.177 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004721/1.509, allocations: 0.7514 MB / 1.177 GB, free: 224 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/1.509, allocations: 24 kB / 1.177 GB, free: 200 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/1.511, allocations: 0.5554 MB / 1.178 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.513, allocations: 0.5616 MB / 1.179 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/1.515, allocations: 2.691 MB / 1.181 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004373/1.519, allocations: 0.618 MB / 1.182 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/1.52, allocations: 139.9 kB / 1.182 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.52, allocations: 4 kB / 1.182 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005152/1.525, allocations: 2.798 MB / 1.185 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/1.525, allocations: 24 kB / 1.185 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009407/1.526, allocations: 373.3 kB / 1.185 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/1.528, allocations: 0.5577 MB / 1.186 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008431/1.536, allocations: 7.692 MB / 1.193 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004934/1.541, allocations: 0.5736 MB / 1.194 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005222/1.542, allocations: 128 kB / 1.194 GB, free: 14.73 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002742/1.544, allocations: 1.004 MB / 1.195 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.546, allocations: 0.4978 MB / 1.195 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007362/1.553, allocations: 3.584 MB / 1.199 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-05/1.553, allocations: 39.97 kB / 1.199 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.553, allocations: 3.953 kB / 1.199 GB, free: 9.512 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003831/1.557, allocations: 2.419 MB / 1.201 GB, free: 7.039 MB / 0.8731 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.01372/1.571, allocations: 8.162 MB / 1.209 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.571, allocations: 4.094 kB / 1.209 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/1.572, allocations: 371.5 kB / 1.21 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006913/1.573, allocations: 303 kB / 1.21 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/1.573, allocations: 59.97 kB / 1.21 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/1.575, allocations: 2.494 MB / 1.212 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.575, allocations: 0 / 1.212 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006762/1.582, allocations: 4.325 MB / 1.217 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.584, allocations: 0.9584 MB / 1.217 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000922/1.585, allocations: 51.95 kB / 1.217 GB, free: 5.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/1.588, allocations: 430.8 kB / 1.218 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/1.589, allocations: 149.8 kB / 1.218 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002291/1.589, allocations: 99.92 kB / 1.218 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004848/1.594, allocations: 2.733 MB / 1.221 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.453e-06/1.594, allocations: 96 / 1.221 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.01066/1.605, allocations: 3.253 MB / 1.224 GB, free: 15.18 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002818/1.607, allocations: 1.423 MB / 1.225 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.009513/1.617, allocations: 4.386 MB / 1.23 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.617, allocations: 4.188 kB / 1.23 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/1.619, allocations: 1.23 MB / 1.231 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01405/1.633, allocations: 2.688 MB / 1.233 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.651, allocations: 11.02 MB / 1.244 GB, free: 10.37 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/1.654, allocations: 2.861 MB / 1.247 GB, free: 7.48 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.006728/1.661, allocations: 1.149 MB / 1.248 GB, free: 6.324 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/1.662, allocations: 415.2 kB / 1.249 GB, free: 5.918 MB / 0.92 GB Notification: Performance of SimCode: time 2.305e-06/1.662, allocations: 0 / 1.249 GB, free: 5.918 MB / 0.92 GB Notification: Performance of Templates: time 0.6179/2.28, allocations: 100.4 MB / 1.347 GB, free: 288.6 MB / 0.92 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: