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.0009426/0.0009425, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001166/0.001166, allocations: 172.7 kB / 15.95 MB, free: 208 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.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.63/1.63, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005749/0.0005751, allocations: 15.31 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2098, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6137/0.8236, allocations: 277.5 MB / 1.058 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.05943/0.883, allocations: 46.54 MB / 1.104 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009762/0.8928, allocations: 254.2 kB / 1.104 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.009372/0.9022, allocations: 2.376 MB / 1.106 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02277/0.9251, allocations: 7.23 MB / 1.113 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01402/0.9391, allocations: 4.813 MB / 1.118 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02592/0.965, allocations: 20.99 MB / 1.139 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007972/0.973, allocations: 4.289 MB / 1.143 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01352/0.9866, allocations: 5.911 MB / 1.149 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008588/0.9952, allocations: 4.6 MB / 1.153 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.9965, allocations: 232 kB / 1.153 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008955/1.005, allocations: 2.643 MB / 1.156 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/1.007, allocations: 1.061 MB / 1.157 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00278/1.01, allocations: 1.373 MB / 1.158 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01068/1.02, allocations: 7.438 MB / 1.165 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.02, allocations: 4 kB / 1.165 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.385e-06/1.02, allocations: 0 / 1.165 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003297/1.021, allocations: 0 / 1.165 GB, free: 14.26 MB / 0.8731 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.01223/1.033, allocations: 6.249 MB / 1.172 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/1.033, allocations: 8.031 kB / 1.172 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/1.035, allocations: 0.788 MB / 1.172 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008562/1.044, allocations: 4.951 MB / 1.177 GB, free: 2.047 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/1.044, allocations: 320.1 kB / 1.178 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005213/1.044, allocations: 436 kB / 1.178 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006487/1.051, allocations: 4.35 MB / 1.182 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.599e-05/1.051, allocations: 19.78 kB / 1.182 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003117/1.051, allocations: 176 kB / 1.182 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/1.051, allocations: 112 kB / 1.182 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00462/1.056, allocations: 2.945 MB / 1.185 GB, free: 9.422 MB / 0.8887 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.0224/1.078, allocations: 25.03 MB / 1.21 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/1.081, allocations: 2.752 MB / 1.212 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/1.083, allocations: 0.9915 MB / 1.213 GB, free: 10.4 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003016/1.086, allocations: 3.92 MB / 1.217 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.936e-05/1.086, allocations: 64.56 kB / 1.217 GB, free: 5.539 MB / 0.92 GB Notification: Performance of pre-optimization done (n=217): time 4.128e-06/1.086, allocations: 3.938 kB / 1.217 GB, free: 5.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=217): time 0.008773/1.095, allocations: 4.069 MB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/1.095, allocations: 77.41 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005602/1.1, allocations: 4.152 MB / 1.225 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/1.101, allocations: 81.7 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002053/1.103, allocations: 2.78 MB / 1.228 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007154/1.103, allocations: 0.7585 MB / 1.229 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.104, allocations: 64 kB / 1.229 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.104, allocations: 411.9 kB / 1.229 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/1.105, allocations: 0.7865 MB / 1.23 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/1.107, allocations: 1.806 MB / 1.232 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/1.109, allocations: 1.073 MB / 1.233 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/1.109, allocations: 8 kB / 1.233 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007052/1.116, allocations: 3.492 MB / 1.236 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004235/1.116, allocations: 0.7527 MB / 1.237 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/1.116, allocations: 24 kB / 1.237 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/1.118, allocations: 0.5739 MB / 1.238 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/1.12, allocations: 0.5499 MB / 1.238 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/1.122, allocations: 2.693 MB / 1.241 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/1.126, allocations: 0.618 MB / 1.242 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/1.126, allocations: 140 kB / 1.242 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/1.126, allocations: 4 kB / 1.242 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004319/1.131, allocations: 2.798 MB / 1.244 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/1.131, allocations: 24.25 kB / 1.244 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008414/1.131, allocations: 371.1 kB / 1.245 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.133, allocations: 0.5538 MB / 1.245 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007209/1.14, allocations: 7.703 MB / 1.253 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/1.144, allocations: 0.5818 MB / 1.253 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/1.144, allocations: 132 kB / 1.254 GB, free: 14.75 MB / 0.9669 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.001844/1.146, allocations: 0.9936 MB / 1.254 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006642/1.147, allocations: 0.5017 MB / 1.255 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005301/1.152, allocations: 3.584 MB / 1.258 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/1.152, allocations: 35.97 kB / 1.259 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.152, allocations: 0 / 1.259 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003419/1.156, allocations: 2.427 MB / 1.261 GB, free: 7.074 MB / 0.9669 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.01281/1.168, allocations: 8.201 MB / 1.269 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/1.168, allocations: 4 kB / 1.269 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.17, allocations: 363.5 kB / 1.269 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006796/1.17, allocations: 295.2 kB / 1.27 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/1.171, allocations: 67.95 kB / 1.27 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/1.172, allocations: 2.502 MB / 1.272 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.172, allocations: 4 kB / 1.272 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006502/1.179, allocations: 4.329 MB / 1.276 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002121/1.181, allocations: 0.974 MB / 1.277 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008396/1.182, allocations: 40 kB / 1.277 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003084/1.185, allocations: 431.2 kB / 1.278 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/1.185, allocations: 157.7 kB / 1.278 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/1.185, allocations: 107.9 kB / 1.278 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004187/1.189, allocations: 2.733 MB / 1.281 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.363e-06/1.189, allocations: 96 / 1.281 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.4265/1.616, allocations: 3.259 MB / 1.284 GB, free: 365.4 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 (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.003611/1.62, allocations: 1.41 MB / 1.285 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007438/1.627, allocations: 4.398 MB / 1.289 GB, free: 364.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.627, allocations: 2.25 kB / 1.289 GB, free: 364.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/1.629, allocations: 1.227 MB / 1.291 GB, free: 364.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/1.64, allocations: 2.686 MB / 1.293 GB, free: 364.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.656, allocations: 11.01 MB / 1.304 GB, free: 358.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/1.659, allocations: 2.864 MB / 1.307 GB, free: 357.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005281/1.664, allocations: 1.159 MB / 1.308 GB, free: 357.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00085/1.665, allocations: 416 kB / 1.308 GB, free: 357.5 MB / 0.9825 GB Notification: Performance of SimCode: time 1.793e-06/1.665, allocations: 0 / 1.308 GB, free: 357.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.1322/1.797, allocations: 101 MB / 1.407 GB, free: 279.4 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: