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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001181/0.001182, allocations: 185 kB / 377.1 MB, free: 1.512 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.534/1.534, allocations: 205.4 MB / 0.6366 GB, free: 9.48 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 89.78 kB / 0.7509 GB, free: 62.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 8 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.465, allocations: 411.2 MB / 1.39 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/1.465, allocations: 98.55 kB / 1.39 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 10.4/11.87, allocations: 2.743 GB / 4.133 GB, free: 56.43 MB / 1.073 GB Notification: Performance of FrontEnd: time 5.661e-06/11.87, allocations: 0 / 4.133 GB, free: 56.43 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.001541/11.87, allocations: 171.3 kB / 4.133 GB, free: 56.4 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.02752/11.9, allocations: 7.153 MB / 4.14 GB, free: 53.12 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/11.9, allocations: 8.406 kB / 4.14 GB, free: 53.12 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002659/11.9, allocations: 0.5424 MB / 4.14 GB, free: 53.06 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/11.9, allocations: 0.775 MB / 4.141 GB, free: 52.69 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1326/12.04, allocations: 59.82 MB / 4.199 GB, free: 49.59 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004489/12.04, allocations: 319.4 kB / 4.2 GB, free: 49.57 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/12.04, allocations: 423.4 kB / 4.2 GB, free: 49.57 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008598/12.05, allocations: 4.271 MB / 4.204 GB, free: 48.79 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/12.05, allocations: 22.2 kB / 4.204 GB, free: 48.79 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004678/12.05, allocations: 178.4 kB / 4.205 GB, free: 48.79 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/12.05, allocations: 118.7 kB / 4.205 GB, free: 48.79 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00576/12.05, allocations: 2.899 MB / 4.208 GB, free: 48.76 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.0377/12.09, allocations: 24.06 MB / 4.231 GB, free: 34.53 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/12.09, allocations: 2.949 MB / 4.234 GB, free: 33.34 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002816/12.1, allocations: 3.933 MB / 4.238 GB, free: 28.93 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.619e-05/12.1, allocations: 72.58 kB / 4.238 GB, free: 28.89 MB / 1.073 GB Notification: Performance of pre-optimization done (n=225): time 6.101e-06/12.1, allocations: 0 / 4.238 GB, free: 28.89 MB / 1.073 GB Notification: Performance of matching and sorting (n=225): time 0.01098/12.11, allocations: 4.112 MB / 4.242 GB, free: 28.11 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/12.11, allocations: 80.25 kB / 4.242 GB, free: 28.04 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/12.12, allocations: 3.665 MB / 4.245 GB, free: 27.72 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0009377/12.12, allocations: 80.77 kB / 4.246 GB, free: 27.69 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00372/12.13, allocations: 2.77 MB / 4.248 GB, free: 26.82 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001635/12.13, allocations: 0.7861 MB / 4.249 GB, free: 26.32 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004275/12.13, allocations: 53.53 kB / 4.249 GB, free: 26.32 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002962/12.13, allocations: 415.9 kB / 4.249 GB, free: 26.01 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/12.13, allocations: 0.7981 MB / 4.25 GB, free: 26 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/12.13, allocations: 1.803 MB / 4.252 GB, free: 24.85 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/12.14, allocations: 1.104 MB / 4.253 GB, free: 24.81 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.502e-05/12.14, allocations: 5.719 kB / 4.253 GB, free: 24.81 MB / 1.073 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.008917/12.14, allocations: 3.358 MB / 4.256 GB, free: 24.43 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003629/12.15, allocations: 10.34 MB / 4.266 GB, free: 29.66 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-05/12.15, allocations: 24.83 kB / 4.266 GB, free: 29.66 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/12.15, allocations: 401.3 kB / 4.267 GB, free: 29.62 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/12.15, allocations: 0.5288 MB / 4.267 GB, free: 29.59 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/12.15, allocations: 2.689 MB / 4.27 GB, free: 27.47 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007268/12.16, allocations: 0.5649 MB / 4.271 GB, free: 27.33 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007254/12.16, allocations: 135.9 kB / 4.271 GB, free: 27.33 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/12.16, allocations: 5.469 kB / 4.271 GB, free: 27.33 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00732/12.17, allocations: 2.803 MB / 4.273 GB, free: 27.08 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.49e-05/12.17, allocations: 24.34 kB / 4.273 GB, free: 27.08 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/12.17, allocations: 383.2 kB / 4.274 GB, free: 27.04 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/12.17, allocations: 0.5237 MB / 4.274 GB, free: 27 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/12.18, allocations: 7.803 MB / 4.282 GB, free: 21.29 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008099/12.19, allocations: 0.5255 MB / 4.282 GB, free: 21.18 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008216/12.19, allocations: 124 kB / 4.283 GB, free: 21.18 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.004954/12.2, allocations: 0.994 MB / 4.284 GB, free: 20.94 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002534/12.2, allocations: 0.5046 MB / 4.284 GB, free: 20.68 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007583/12.21, allocations: 3.797 MB / 4.288 GB, free: 20.21 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.266e-05/12.21, allocations: 39.56 kB / 4.288 GB, free: 20.21 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/12.21, allocations: 4 kB / 4.288 GB, free: 20.21 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004047/12.21, allocations: 2.605 MB / 4.29 GB, free: 19.94 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.01838/12.23, allocations: 8.573 MB / 4.299 GB, free: 18.32 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/12.23, allocations: 0 / 4.299 GB, free: 18.32 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/12.23, allocations: 383.9 kB / 4.299 GB, free: 18.3 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006861/12.23, allocations: 316.3 kB / 4.299 GB, free: 18.23 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/12.23, allocations: 66.8 kB / 4.299 GB, free: 18.23 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/12.24, allocations: 2.498 MB / 4.302 GB, free: 16.13 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/12.24, allocations: 0 / 4.302 GB, free: 16.13 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00806/12.24, allocations: 4.76 MB / 4.307 GB, free: 15.29 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004431/12.25, allocations: 0.9866 MB / 4.308 GB, free: 14.89 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001964/12.25, allocations: 52.91 kB / 4.308 GB, free: 14.89 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00557/12.26, allocations: 441.6 kB / 4.308 GB, free: 14.82 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003249/12.26, allocations: 159.1 kB / 4.308 GB, free: 14.81 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003738/12.26, allocations: 118.5 kB / 4.308 GB, free: 14.81 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.006188/12.26, allocations: 2.799 MB / 4.311 GB, free: 14.62 MB / 1.089 GB Notification: Performance of sort global known variables: time 6.21e-07/12.26, allocations: 0 / 4.311 GB, free: 14.62 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01889/12.28, allocations: 3.597 MB / 4.314 GB, free: 14.09 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.01828/12.3, allocations: 8.62 MB / 4.323 GB, free: 11.03 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01042/12.31, allocations: 4.439 MB / 4.327 GB, free: 10.29 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/12.31, allocations: 7.719 kB / 4.327 GB, free: 10.29 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/12.31, allocations: 1.317 MB / 4.329 GB, free: 10.22 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01691/12.33, allocations: 2.738 MB / 4.331 GB, free: 10.02 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09169/12.42, allocations: 50.65 MB / 4.381 GB, free: 7.254 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004798/12.43, allocations: 2.993 MB / 4.384 GB, free: 6.383 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.007246/12.43, allocations: 1.204 MB / 4.385 GB, free: 6.117 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004697/12.44, allocations: 2.537 MB / 4.387 GB, free: 6.109 MB / 1.12 GB Notification: Performance of SimCode: time 2.244e-06/12.44, allocations: 4 kB / 4.387 GB, free: 6.105 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.322/13.76, allocations: 173.3 MB / 4.557 GB, free: 111.1 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/13.76, allocations: 254.7 kB / 4.557 GB, free: 110.8 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/24.55, allocations: 0 / 4.557 GB, free: 110.8 MB / 1.135 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)