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: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.603/1.603, allocations: 285.4 MB / 298 MB, free: 5.992 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.001151/0.001151, allocations: 188.2 kB / 366.4 MB, free: 2.094 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.528/1.528, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0009665/0.0009663, allocations: 107.2 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.766e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8355, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/2.018, allocations: 410.1 MB / 1.371 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/2.018, allocations: 99.69 kB / 1.372 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.74/13.76, allocations: 2.734 GB / 4.105 GB, free: 49.7 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.814e-06/13.76, allocations: 0 / 4.105 GB, free: 49.7 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.001262/13.76, allocations: 175.5 kB / 4.106 GB, free: 49.68 MB / 1.057 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.02121/13.78, allocations: 5.913 MB / 4.111 GB, free: 46.76 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/13.78, allocations: 8.969 kB / 4.111 GB, free: 46.76 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006075/13.79, allocations: 0.7781 MB / 4.112 GB, free: 46.39 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1311/13.92, allocations: 59.52 MB / 4.17 GB, free: 42.89 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004943/13.92, allocations: 319.1 kB / 4.171 GB, free: 42.88 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/13.92, allocations: 426.3 kB / 4.171 GB, free: 42.88 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/13.94, allocations: 4.183 MB / 4.175 GB, free: 42.04 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003372/13.94, allocations: 12.81 kB / 4.175 GB, free: 42.04 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/13.94, allocations: 174.9 kB / 4.175 GB, free: 42.04 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/13.94, allocations: 119.3 kB / 4.175 GB, free: 42.04 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008659/13.95, allocations: 2.789 MB / 4.178 GB, free: 41.94 MB / 1.057 GB Warning: The model contains alias variables with conflicting start and/or 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.04013/13.99, allocations: 24.06 MB / 4.202 GB, free: 27.38 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/13.99, allocations: 2.905 MB / 4.204 GB, free: 26.19 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/13.99, allocations: 1.046 MB / 4.205 GB, free: 26.17 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002751/14, allocations: 3.933 MB / 4.209 GB, free: 21.76 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.031e-05/14, allocations: 63.53 kB / 4.209 GB, free: 21.72 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 5.45e-06/14, allocations: 3.281 kB / 4.209 GB, free: 21.72 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.007161/14, allocations: 2.568 MB / 4.212 GB, free: 21.27 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/14, allocations: 74.12 kB / 4.212 GB, free: 21.21 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/14.01, allocations: 3.592 MB / 4.215 GB, free: 20.87 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0008057/14.02, allocations: 81.2 kB / 4.216 GB, free: 20.84 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.00313/14.02, allocations: 2.77 MB / 4.218 GB, free: 19.97 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001368/14.02, allocations: 0.7924 MB / 4.219 GB, free: 19.46 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/14.02, allocations: 60.25 kB / 4.219 GB, free: 19.45 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002566/14.02, allocations: 408.9 kB / 4.219 GB, free: 19.14 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/14.02, allocations: 0.7626 MB / 4.22 GB, free: 19.14 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/14.02, allocations: 1.771 MB / 4.222 GB, free: 17.94 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/14.03, allocations: 1.063 MB / 4.223 GB, free: 17.84 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/14.03, allocations: 6.594 kB / 4.223 GB, free: 17.84 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007749/14.03, allocations: 3.278 MB / 4.226 GB, free: 17.26 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.003534/14.04, allocations: 10.34 MB / 4.236 GB, free: 22.41 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/14.04, allocations: 26.97 kB / 4.236 GB, free: 22.41 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/14.04, allocations: 399.4 kB / 4.237 GB, free: 22.35 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/14.04, allocations: 0.5268 MB / 4.237 GB, free: 22.31 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/14.04, allocations: 2.685 MB / 4.24 GB, free: 20.19 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006807/14.05, allocations: 0.5638 MB / 4.24 GB, free: 20.02 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006765/14.05, allocations: 134.1 kB / 4.241 GB, free: 20.02 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/14.05, allocations: 3.875 kB / 4.241 GB, free: 20.02 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006712/14.06, allocations: 2.739 MB / 4.243 GB, free: 19.74 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-05/14.06, allocations: 22.72 kB / 4.243 GB, free: 19.74 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009703/14.06, allocations: 372 kB / 4.244 GB, free: 19.7 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/14.06, allocations: 0.5288 MB / 4.244 GB, free: 19.66 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01071/14.07, allocations: 7.695 MB / 4.252 GB, free: 13.92 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006771/14.08, allocations: 0.5261 MB / 4.252 GB, free: 13.77 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000808/14.08, allocations: 125.5 kB / 4.252 GB, free: 13.77 MB / 1.073 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 () * 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.001593/14.08, allocations: 277.9 kB / 4.252 GB, free: 13.62 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002496/14.08, allocations: 0.5107 MB / 4.253 GB, free: 13.35 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009216/14.09, allocations: 3.724 MB / 4.257 GB, free: 12.87 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.439e-05/14.09, allocations: 40.72 kB / 4.257 GB, free: 12.87 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/14.09, allocations: 0 / 4.257 GB, free: 12.87 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004228/14.1, allocations: 2.543 MB / 4.259 GB, free: 12.13 MB / 1.073 GB Warning: The model contains alias variables with conflicting start and/or 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.02114/14.12, allocations: 8.507 MB / 4.267 GB, free: 7.988 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/14.12, allocations: 0 / 4.267 GB, free: 7.988 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/14.12, allocations: 388.1 kB / 4.268 GB, free: 7.957 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00071/14.12, allocations: 298.2 kB / 4.268 GB, free: 7.844 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/14.12, allocations: 67.88 kB / 4.268 GB, free: 7.809 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/14.12, allocations: 2.497 MB / 4.271 GB, free: 5.527 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/14.12, allocations: 7.719 kB / 4.271 GB, free: 5.523 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007848/14.13, allocations: 4.651 MB / 4.275 GB, free: 3.301 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004114/14.13, allocations: 0.9902 MB / 4.276 GB, free: 2.676 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001993/14.14, allocations: 48.95 kB / 4.276 GB, free: 2.641 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005796/14.14, allocations: 451.5 kB / 4.277 GB, free: 2.531 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003637/14.14, allocations: 149.4 kB / 4.277 GB, free: 2.512 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005004/14.14, allocations: 112.9 kB / 4.277 GB, free: 2.492 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.009598/14.15, allocations: 2.73 MB / 4.28 GB, free: 1.473 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.062e-06/14.15, allocations: 0 / 4.28 GB, free: 1.473 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02072/14.17, allocations: 3.593 MB / 4.283 GB, free: 0.5703 MB / 1.073 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 () * 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.009017/14.18, allocations: 3.418 MB / 4.286 GB, free: 14.7 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01025/14.19, allocations: 4.487 MB / 4.291 GB, free: 12.51 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/14.19, allocations: 8.062 kB / 4.291 GB, free: 12.5 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.00278/14.2, allocations: 1.295 MB / 4.292 GB, free: 11.29 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01718/14.21, allocations: 2.74 MB / 4.295 GB, free: 9.309 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/14.24, allocations: 7.271 MB / 4.302 GB, free: 2.629 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004915/14.24, allocations: 2.999 MB / 4.305 GB, free: 460 kB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01199/14.25, allocations: 1.529 MB / 4.306 GB, free: 15.42 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/14.25, allocations: 323.4 kB / 4.307 GB, free: 15.14 MB / 1.104 GB Notification: Performance of SimCode: time 2.204e-06/14.25, allocations: 0 / 4.307 GB, free: 15.14 MB / 1.104 GB Notification: Performance of Templates: time 1.183/15.44, allocations: 133 MB / 4.436 GB, free: 86.38 MB / 1.104 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)