Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 288.2 MB / 303.2 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 173.8 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008362/0.0008363, allocations: 93.39 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003726, allocations: 15.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.178, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8008/0.9789, allocations: 410.2 MB / 1.38 GB, free: 2.824 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.9791, allocations: 99.45 kB / 1.38 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 11.56/12.54, allocations: 2.743 GB / 4.123 GB, free: 60.51 MB / 1.073 GB Notification: Performance of FrontEnd: time 4.919e-06/12.54, allocations: 2.438 kB / 4.123 GB, free: 60.51 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001496/12.54, allocations: 168.7 kB / 4.123 GB, free: 60.48 MB / 1.073 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.03571/12.58, allocations: 7.15 MB / 4.13 GB, free: 57.36 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/12.58, allocations: 10 kB / 4.13 GB, free: 57.36 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003442/12.58, allocations: 0.5387 MB / 4.13 GB, free: 57.3 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006654/12.59, allocations: 0.7803 MB / 4.131 GB, free: 56.93 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1444/12.73, allocations: 59.82 MB / 4.19 GB, free: 53.85 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007304/12.73, allocations: 317.4 kB / 4.19 GB, free: 53.84 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002799/12.73, allocations: 432.3 kB / 4.19 GB, free: 53.83 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/12.75, allocations: 4.266 MB / 4.194 GB, free: 53.05 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/12.75, allocations: 24.78 kB / 4.195 GB, free: 53.05 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005704/12.75, allocations: 176.4 kB / 4.195 GB, free: 53.05 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/12.75, allocations: 118.3 kB / 4.195 GB, free: 53.05 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007975/12.76, allocations: 2.902 MB / 4.198 GB, free: 53.02 MB / 1.073 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.04611/12.81, allocations: 24.06 MB / 4.221 GB, free: 38.79 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004058/12.81, allocations: 2.951 MB / 4.224 GB, free: 37.59 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003017/12.81, allocations: 3.942 MB / 4.228 GB, free: 33.18 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.491e-05/12.81, allocations: 62.09 kB / 4.228 GB, free: 33.14 MB / 1.073 GB Notification: Performance of pre-optimization done (n=225): time 5.981e-06/12.81, allocations: 0 / 4.228 GB, free: 33.14 MB / 1.073 GB Notification: Performance of matching and sorting (n=225): time 0.01158/12.82, allocations: 4.106 MB / 4.232 GB, free: 32.36 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/12.82, allocations: 75.12 kB / 4.232 GB, free: 32.3 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01125/12.84, allocations: 3.665 MB / 4.236 GB, free: 31.99 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0009128/12.84, allocations: 75.77 kB / 4.236 GB, free: 31.96 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002734/12.84, allocations: 2.776 MB / 4.238 GB, free: 31.09 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/12.84, allocations: 0.7855 MB / 4.239 GB, free: 30.58 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/12.84, allocations: 51.75 kB / 4.239 GB, free: 30.58 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001913/12.84, allocations: 408.4 kB / 4.24 GB, free: 30.27 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/12.84, allocations: 0.8108 MB / 4.24 GB, free: 30.26 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/12.84, allocations: 1.806 MB / 4.242 GB, free: 29.1 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/12.85, allocations: 1.102 MB / 4.243 GB, free: 29.07 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/12.85, allocations: 4.438 kB / 4.243 GB, free: 29.07 MB / 1.073 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008345/12.86, allocations: 3.355 MB / 4.246 GB, free: 28.69 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.005581/12.86, allocations: 10.35 MB / 4.257 GB, free: 33.93 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.772e-05/12.86, allocations: 25.03 kB / 4.257 GB, free: 33.93 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/12.86, allocations: 400.6 kB / 4.257 GB, free: 33.89 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/12.86, allocations: 0.5256 MB / 4.258 GB, free: 33.89 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/12.87, allocations: 2.694 MB / 4.26 GB, free: 31.79 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008514/12.88, allocations: 0.5585 MB / 4.261 GB, free: 31.65 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/12.88, allocations: 128.8 kB / 4.261 GB, free: 31.65 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/12.88, allocations: 3 kB / 4.261 GB, free: 31.65 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008189/12.89, allocations: 2.819 MB / 4.264 GB, free: 31.55 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/12.89, allocations: 22.88 kB / 4.264 GB, free: 31.55 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/12.89, allocations: 372.5 kB / 4.264 GB, free: 31.52 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/12.89, allocations: 0.5275 MB / 4.264 GB, free: 31.52 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/12.9, allocations: 7.803 MB / 4.272 GB, free: 25.88 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008117/12.91, allocations: 0.5268 MB / 4.273 GB, free: 25.76 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009852/12.91, allocations: 124.5 kB / 4.273 GB, free: 25.76 MB / 1.089 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 (299): * Single equations (assignments): 295 * 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.004867/12.92, allocations: 0.9897 MB / 4.274 GB, free: 25.56 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002763/12.92, allocations: 0.5122 MB / 4.274 GB, free: 25.3 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/12.93, allocations: 3.796 MB / 4.278 GB, free: 25 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.128e-05/12.93, allocations: 35.7 kB / 4.278 GB, free: 25 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/12.93, allocations: 0 / 4.278 GB, free: 25 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005315/12.93, allocations: 2.611 MB / 4.28 GB, free: 24.78 MB / 1.089 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.02683/12.96, allocations: 8.578 MB / 4.289 GB, free: 23.21 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/12.96, allocations: 3.062 kB / 4.289 GB, free: 23.21 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/12.96, allocations: 389.7 kB / 4.289 GB, free: 23.21 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008232/12.96, allocations: 302.6 kB / 4.29 GB, free: 23.16 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004459/12.96, allocations: 69.62 kB / 4.29 GB, free: 23.16 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/12.97, allocations: 2.496 MB / 4.292 GB, free: 21.07 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/12.97, allocations: 1.406 kB / 4.292 GB, free: 21.07 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/12.98, allocations: 4.762 MB / 4.297 GB, free: 20.27 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005409/12.98, allocations: 0.9882 MB / 4.298 GB, free: 19.86 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002451/12.99, allocations: 53.33 kB / 4.298 GB, free: 19.86 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006423/12.99, allocations: 439.4 kB / 4.298 GB, free: 19.83 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000656/12.99, allocations: 155.5 kB / 4.298 GB, free: 19.82 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006791/12.99, allocations: 116.3 kB / 4.298 GB, free: 19.82 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.008561/13, allocations: 2.802 MB / 4.301 GB, free: 19.64 MB / 1.089 GB Notification: Performance of sort global known variables: time 8.91e-07/13, allocations: 0 / 4.301 GB, free: 19.64 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02281/13.03, allocations: 3.587 MB / 4.305 GB, free: 19.12 MB / 1.089 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 (227): * Single equations (assignments): 189 * 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.0211/13.05, allocations: 8.634 MB / 4.313 GB, free: 16.39 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.011/13.06, allocations: 4.437 MB / 4.317 GB, free: 15.8 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/13.06, allocations: 3.5 kB / 4.317 GB, free: 15.8 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003084/13.06, allocations: 1.327 MB / 4.319 GB, free: 15.73 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.017/13.08, allocations: 2.733 MB / 4.321 GB, free: 15.59 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1057/13.18, allocations: 50.64 MB / 4.371 GB, free: 12.85 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006139/13.19, allocations: 2.988 MB / 4.374 GB, free: 11.98 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.009366/13.2, allocations: 1.206 MB / 4.375 GB, free: 11.73 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006599/13.21, allocations: 2.537 MB / 4.377 GB, free: 11.72 MB / 1.12 GB Notification: Performance of SimCode: time 2.174e-06/13.21, allocations: 0 / 4.377 GB, free: 11.72 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.393/14.6, allocations: 173.3 MB / 4.547 GB, free: 116.7 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/14.6, allocations: 253.8 kB / 4.547 GB, free: 116.4 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.403/24, allocations: 4 kB / 4.547 GB, free: 116.4 MB / 1.135 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)