Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001373/0.001373, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001653/0.001653, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.2 MB / 0.5484 GB, free: 13.65 MB / 462.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.001427/0.001427, allocations: 68.62 kB / 0.6708 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2216, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7375/0.9591, allocations: 298.2 MB / 1.074 GB, free: 4.574 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0867/1.046, allocations: 49.74 MB / 1.122 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01319/1.059, allocations: 266.2 kB / 1.123 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01213/1.071, allocations: 2.786 MB / 1.125 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02685/1.098, allocations: 8.372 MB / 1.134 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01977/1.118, allocations: 6.027 MB / 1.139 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.03258/1.151, allocations: 24.49 MB / 1.163 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009632/1.16, allocations: 4.834 MB / 1.168 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01996/1.18, allocations: 6.382 MB / 1.174 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/1.193, allocations: 5.113 MB / 1.179 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00264/1.195, allocations: 308 kB / 1.18 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/1.211, allocations: 3.975 MB / 1.184 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003277/1.214, allocations: 1.233 MB / 1.185 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.009272/1.223, allocations: 3.439 MB / 1.188 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02238/1.246, allocations: 10.14 MB / 1.198 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/1.246, allocations: 0 / 1.198 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.026e-06/1.246, allocations: 0 / 1.198 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000604/1.246, allocations: 0 / 1.198 GB, free: 5.07 MB / 0.8887 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.02188/1.268, allocations: 7.459 MB / 1.205 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.268, allocations: 8.031 kB / 1.205 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/1.271, allocations: 0.7881 MB / 1.206 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/1.283, allocations: 5.157 MB / 1.211 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/1.283, allocations: 328.1 kB / 1.211 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/1.284, allocations: 439.8 kB / 1.212 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/1.296, allocations: 4.373 MB / 1.216 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/1.296, allocations: 15.86 kB / 1.216 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004438/1.296, allocations: 176 kB / 1.216 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/1.296, allocations: 115.9 kB / 1.216 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005573/1.302, allocations: 2.961 MB / 1.219 GB, free: 14.76 MB / 0.92 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.03445/1.336, allocations: 25.03 MB / 1.244 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/1.34, allocations: 2.748 MB / 1.246 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/1.341, allocations: 0.9994 MB / 1.247 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002869/1.344, allocations: 3.904 MB / 1.251 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.345e-05/1.344, allocations: 68.55 kB / 1.251 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=217): time 3.667e-06/1.344, allocations: 0 / 1.251 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=217): time 0.01159/1.356, allocations: 4.065 MB / 1.255 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.356, allocations: 77.34 kB / 1.255 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01024/1.366, allocations: 4.199 MB / 1.259 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0009809/1.367, allocations: 81.7 kB / 1.259 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.003377/1.371, allocations: 2.788 MB / 1.262 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.372, allocations: 0.7625 MB / 1.263 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/1.374, allocations: 0.5802 MB / 1.264 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.374, allocations: 301.1 kB / 1.264 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/1.376, allocations: 0.8231 MB / 1.265 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/1.378, allocations: 1.822 MB / 1.266 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004234/1.383, allocations: 2.513 MB / 1.269 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-05/1.383, allocations: 8 kB / 1.269 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.00954/1.392, allocations: 3.559 MB / 1.272 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/1.392, allocations: 18.97 kB / 1.272 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.154e-05/1.392, allocations: 20 kB / 1.272 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002737/1.395, allocations: 0.6009 MB / 1.273 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/1.397, allocations: 0.5538 MB / 1.274 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/1.399, allocations: 2.678 MB / 1.276 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005373/1.405, allocations: 0.6219 MB / 1.277 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004056/1.405, allocations: 132 kB / 1.277 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003584/1.409, allocations: 1.568 MB / 1.278 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002483/1.411, allocations: 1.795 MB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003884/1.415, allocations: 2.463 MB / 1.283 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.041e-05/1.415, allocations: 8 kB / 1.283 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.00745/1.423, allocations: 3.314 MB / 1.286 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/1.423, allocations: 12 kB / 1.286 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/1.423, allocations: 24.09 kB / 1.286 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/1.424, allocations: 368.8 kB / 1.286 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/1.426, allocations: 0.5576 MB / 1.287 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6475/2.073, allocations: 7.673 MB / 1.294 GB, free: 364.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007336/2.081, allocations: 0.5946 MB / 1.295 GB, free: 364.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009779/2.082, allocations: 137.3 kB / 1.295 GB, free: 364.4 MB / 0.9825 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.001642/2.083, allocations: 374.2 kB / 1.295 GB, free: 364.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00342/2.087, allocations: 0.4999 MB / 1.296 GB, free: 364.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009881/2.097, allocations: 3.57 MB / 1.299 GB, free: 363.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.937e-05/2.097, allocations: 40.56 kB / 1.299 GB, free: 363.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/2.097, allocations: 2.531 kB / 1.299 GB, free: 363.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004586/2.101, allocations: 2.438 MB / 1.302 GB, free: 363.5 MB / 0.9825 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.02237/2.124, allocations: 8.211 MB / 1.31 GB, free: 359.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/2.124, allocations: 1.656 kB / 1.31 GB, free: 359.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/2.125, allocations: 364.7 kB / 1.31 GB, free: 359.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008648/2.126, allocations: 299.3 kB / 1.31 GB, free: 359.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002613/2.127, allocations: 63.36 kB / 1.31 GB, free: 359.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/2.128, allocations: 2.492 MB / 1.313 GB, free: 357.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/2.128, allocations: 2.5 kB / 1.313 GB, free: 357.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01094/2.139, allocations: 4.344 MB / 1.317 GB, free: 355.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003097/2.142, allocations: 0.8748 MB / 1.318 GB, free: 354.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/2.144, allocations: 47.53 kB / 1.318 GB, free: 354.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004828/2.149, allocations: 427 kB / 1.318 GB, free: 354.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/2.149, allocations: 147.7 kB / 1.319 GB, free: 354.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004197/2.15, allocations: 113.4 kB / 1.319 GB, free: 354.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00797/2.158, allocations: 2.775 MB / 1.321 GB, free: 353.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.52e-07/2.158, allocations: 0 / 1.321 GB, free: 353.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01693/2.175, allocations: 3.27 MB / 1.325 GB, free: 353.2 MB / 0.9825 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.004675/2.179, allocations: 1.46 MB / 1.326 GB, free: 352.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009482/2.189, allocations: 4.423 MB / 1.33 GB, free: 351.1 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/2.189, allocations: 3.906 kB / 1.33 GB, free: 351.1 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/2.192, allocations: 1.23 MB / 1.331 GB, free: 350.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/2.209, allocations: 2.681 MB / 1.334 GB, free: 350.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/2.227, allocations: 11.35 MB / 1.345 GB, free: 343.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003719/2.231, allocations: 2.862 MB / 1.348 GB, free: 342.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006634/2.238, allocations: 1.174 MB / 1.349 GB, free: 342.3 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/2.239, allocations: 415.3 kB / 1.35 GB, free: 342.2 MB / 0.9825 GB Notification: Performance of SimCode: time 9.72e-07/2.239, allocations: 0 / 1.35 GB, free: 342.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.1503/2.39, allocations: 104.4 MB / 1.451 GB, free: 242.8 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)