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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 293 MB / 309 MB, free: 4.82 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.0009511/0.000951, allocations: 168.6 kB / 378.7 MB, free: 1.035 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.389/1.389, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0006889/0.0006889, allocations: 95.47 kB / 0.7527 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1987, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.324, allocations: 411.3 MB / 1.392 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.324, allocations: 99.03 kB / 1.392 GB, free: 279 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.457/10.78, allocations: 2.704 GB / 4.096 GB, free: 62.36 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.225e-06/10.78, allocations: 0.75 kB / 4.096 GB, free: 62.36 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.0009761/10.78, allocations: 172.3 kB / 4.096 GB, free: 62.32 MB / 1.089 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.02249/10.8, allocations: 7.074 MB / 4.103 GB, free: 59.23 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/10.8, allocations: 12.84 kB / 4.103 GB, free: 59.23 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/10.81, allocations: 0.7807 MB / 4.104 GB, free: 58.86 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1151/10.92, allocations: 56.54 MB / 4.159 GB, free: 55.58 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00056/10.92, allocations: 320.2 kB / 4.16 GB, free: 55.57 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/10.93, allocations: 423 kB / 4.16 GB, free: 55.57 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/10.94, allocations: 4.308 MB / 4.164 GB, free: 54.78 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/10.94, allocations: 19.41 kB / 4.164 GB, free: 54.78 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004825/10.94, allocations: 172.6 kB / 4.164 GB, free: 54.78 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/10.94, allocations: 116.9 kB / 4.165 GB, free: 54.78 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005479/10.94, allocations: 2.906 MB / 4.167 GB, free: 54.75 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 preOpt removeSimpleEquations (simulation): time 0.02448/10.97, allocations: 23.99 MB / 4.191 GB, free: 40.52 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/10.97, allocations: 2.963 MB / 4.194 GB, free: 39.32 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/10.97, allocations: 1.09 MB / 4.195 GB, free: 39.3 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002099/10.98, allocations: 3.935 MB / 4.199 GB, free: 34.89 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/10.98, allocations: 65.5 kB / 4.199 GB, free: 34.86 MB / 1.089 GB Notification: Performance of pre-optimization done (n=225): time 4.318e-06/10.98, allocations: 0 / 4.199 GB, free: 34.86 MB / 1.089 GB Notification: Performance of matching and sorting (n=225): time 0.009847/10.99, allocations: 4.405 MB / 4.203 GB, free: 34.08 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/10.99, allocations: 77.06 kB / 4.203 GB, free: 34.01 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005887/10.99, allocations: 4.134 MB / 4.207 GB, free: 33.67 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0004064/10.99, allocations: 84.27 kB / 4.207 GB, free: 33.64 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/10.99, allocations: 2.772 MB / 4.21 GB, free: 32.77 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007355/10.99, allocations: 0.7782 MB / 4.211 GB, free: 32.27 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/10.99, allocations: 52.81 kB / 4.211 GB, free: 32.27 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001176/10.99, allocations: 404.3 kB / 4.211 GB, free: 31.96 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/11, allocations: 0.8047 MB / 4.212 GB, free: 31.95 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/11, allocations: 1.821 MB / 4.214 GB, free: 30.8 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/11, allocations: 2.548 MB / 4.216 GB, free: 30 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/11, allocations: 8.672 kB / 4.216 GB, free: 30 MB / 1.089 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007804/11.01, allocations: 3.509 MB / 4.22 GB, free: 29.6 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004554/11.01, allocations: 0.7421 MB / 4.22 GB, free: 28.73 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/11.01, allocations: 23.34 kB / 4.22 GB, free: 28.73 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/11.01, allocations: 0.5539 MB / 4.221 GB, free: 28.7 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/11.01, allocations: 0.5274 MB / 4.221 GB, free: 28.7 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/11.01, allocations: 2.694 MB / 4.224 GB, free: 26.6 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005224/11.02, allocations: 0.5528 MB / 4.225 GB, free: 26.46 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/11.02, allocations: 134.7 kB / 4.225 GB, free: 26.46 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/11.02, allocations: 2.906 kB / 4.225 GB, free: 26.46 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004337/11.02, allocations: 2.817 MB / 4.227 GB, free: 26.37 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/11.02, allocations: 22.22 kB / 4.227 GB, free: 26.37 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008109/11.02, allocations: 378.9 kB / 4.228 GB, free: 26.33 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/11.03, allocations: 0.5265 MB / 4.228 GB, free: 26.33 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00676/11.03, allocations: 7.72 MB / 4.236 GB, free: 20.68 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/11.04, allocations: 0.5153 MB / 4.236 GB, free: 20.57 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002789/11.04, allocations: 130.9 kB / 4.236 GB, free: 20.57 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.002711/11.04, allocations: 0.9921 MB / 4.237 GB, free: 20.37 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/11.04, allocations: 0.5029 MB / 4.238 GB, free: 20.11 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005827/11.05, allocations: 3.782 MB / 4.242 GB, free: 19.81 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-05/11.05, allocations: 42.75 kB / 4.242 GB, free: 19.81 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/11.05, allocations: 3.812 kB / 4.242 GB, free: 19.81 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003407/11.05, allocations: 2.61 MB / 4.244 GB, free: 19.61 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.01313/11.06, allocations: 8.542 MB / 4.253 GB, free: 18.05 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/11.06, allocations: 3.875 kB / 4.253 GB, free: 18.05 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/11.07, allocations: 389.4 kB / 4.253 GB, free: 18.05 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006088/11.07, allocations: 302.9 kB / 4.253 GB, free: 18 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/11.07, allocations: 66.16 kB / 4.253 GB, free: 18 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/11.07, allocations: 2.49 MB / 4.256 GB, free: 15.91 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/11.07, allocations: 2.25 kB / 4.256 GB, free: 15.91 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006664/11.07, allocations: 4.663 MB / 4.26 GB, free: 15.23 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002916/11.08, allocations: 0.9699 MB / 4.261 GB, free: 14.83 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007867/11.08, allocations: 48.23 kB / 4.261 GB, free: 14.83 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003073/11.08, allocations: 444.4 kB / 4.262 GB, free: 14.79 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/11.08, allocations: 149.8 kB / 4.262 GB, free: 14.79 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001907/11.08, allocations: 121.3 kB / 4.262 GB, free: 14.79 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.003915/11.09, allocations: 2.717 MB / 4.265 GB, free: 14.61 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.2e-07/11.09, allocations: 0 / 4.265 GB, free: 14.61 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01107/11.1, allocations: 3.438 MB / 4.268 GB, free: 14.11 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.005207/11.1, allocations: 3.263 MB / 4.271 GB, free: 12.71 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.006914/11.11, allocations: 4.43 MB / 4.275 GB, free: 28.16 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/11.11, allocations: 3.094 kB / 4.275 GB, free: 28.16 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/11.11, allocations: 1.323 MB / 4.277 GB, free: 28.14 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01275/11.12, allocations: 2.712 MB / 4.279 GB, free: 28.05 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/11.14, allocations: 11.16 MB / 4.29 GB, free: 22.54 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/11.14, allocations: 2.875 MB / 4.293 GB, free: 21.67 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.005396/11.14, allocations: 1.184 MB / 4.294 GB, free: 21.44 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/11.15, allocations: 420.1 kB / 4.295 GB, free: 21.43 MB / 1.104 GB Notification: Performance of SimCode: time 7.91e-07/11.15, allocations: 4.984 kB / 4.295 GB, free: 21.43 MB / 1.104 GB Notification: Performance of Templates: time 0.1734/11.32, allocations: 117.9 MB / 4.41 GB, free: 11.5 MB / 1.104 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)