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.792/1.792, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001724/0.001724, allocations: 188.9 kB / 371.8 MB, free: 10.25 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.758/1.758, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.00104/0.00104, allocations: 110.2 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 16.81 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.329, allocations: 410.2 MB / 1.38 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.329, allocations: 92.52 kB / 1.38 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 10.27/11.6, allocations: 2.743 GB / 4.123 GB, free: 60.34 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.234e-06/11.6, allocations: 0 / 4.123 GB, free: 60.34 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.0008771/11.6, allocations: 169.4 kB / 4.123 GB, free: 60.32 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.02231/11.62, allocations: 7.15 MB / 4.13 GB, free: 57.18 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/11.62, allocations: 15.06 kB / 4.13 GB, free: 57.18 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004316/11.62, allocations: 0.7764 MB / 4.131 GB, free: 56.81 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1191/11.74, allocations: 59.81 MB / 4.189 GB, free: 53.73 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000325/11.74, allocations: 316.9 kB / 4.189 GB, free: 53.71 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001162/11.74, allocations: 433.6 kB / 4.19 GB, free: 53.71 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007616/11.75, allocations: 4.268 MB / 4.194 GB, free: 52.93 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/11.75, allocations: 15.19 kB / 4.194 GB, free: 52.92 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004456/11.75, allocations: 174.7 kB / 4.194 GB, free: 52.92 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/11.75, allocations: 127.2 kB / 4.194 GB, free: 52.92 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005244/11.76, allocations: 2.9 MB / 4.197 GB, free: 52.89 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.03075/11.79, allocations: 24.05 MB / 4.221 GB, free: 38.66 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/11.79, allocations: 2.954 MB / 4.223 GB, free: 37.47 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002319/11.79, allocations: 3.943 MB / 4.227 GB, free: 33.07 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.43e-05/11.79, allocations: 58.44 kB / 4.227 GB, free: 33.03 MB / 1.073 GB Notification: Performance of pre-optimization done (n=225): time 4.639e-06/11.79, allocations: 0 / 4.227 GB, free: 33.03 MB / 1.073 GB Notification: Performance of matching and sorting (n=225): time 0.008881/11.8, allocations: 4.112 MB / 4.231 GB, free: 32.24 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/11.8, allocations: 76.66 kB / 4.231 GB, free: 32.18 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007395/11.81, allocations: 3.658 MB / 4.235 GB, free: 31.87 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007588/11.81, allocations: 77.98 kB / 4.235 GB, free: 31.84 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002043/11.81, allocations: 2.779 MB / 4.238 GB, free: 30.96 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/11.81, allocations: 0.7834 MB / 4.239 GB, free: 30.46 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/11.81, allocations: 51.97 kB / 4.239 GB, free: 30.46 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001353/11.81, allocations: 410.1 kB / 4.239 GB, free: 30.15 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/11.82, allocations: 0.8015 MB / 4.24 GB, free: 30.14 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/11.82, allocations: 1.809 MB / 4.242 GB, free: 28.98 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/11.82, allocations: 1.102 MB / 4.243 GB, free: 28.95 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/11.82, allocations: 3.719 kB / 4.243 GB, free: 28.95 MB / 1.073 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006511/11.83, allocations: 3.358 MB / 4.246 GB, free: 28.57 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003103/11.83, allocations: 10.34 MB / 4.256 GB, free: 33.8 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/11.83, allocations: 28.95 kB / 4.256 GB, free: 33.8 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/11.83, allocations: 404.4 kB / 4.256 GB, free: 33.77 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/11.83, allocations: 0.5262 MB / 4.257 GB, free: 33.77 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/11.83, allocations: 2.691 MB / 4.26 GB, free: 31.67 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006421/11.84, allocations: 0.5622 MB / 4.26 GB, free: 31.53 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007342/11.84, allocations: 131.4 kB / 4.26 GB, free: 31.53 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/11.84, allocations: 3.5 kB / 4.26 GB, free: 31.53 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005317/11.85, allocations: 2.808 MB / 4.263 GB, free: 31.44 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/11.85, allocations: 23.02 kB / 4.263 GB, free: 31.43 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009313/11.85, allocations: 386.4 kB / 4.263 GB, free: 31.4 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/11.85, allocations: 0.5219 MB / 4.264 GB, free: 31.4 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00946/11.86, allocations: 7.799 MB / 4.271 GB, free: 25.75 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006293/11.86, allocations: 0.5214 MB / 4.272 GB, free: 25.64 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007462/11.87, allocations: 126.7 kB / 4.272 GB, free: 25.64 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.00473/11.87, allocations: 1 MB / 4.273 GB, free: 25.44 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003077/11.87, allocations: 0.5062 MB / 4.274 GB, free: 25.17 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/11.88, allocations: 3.789 MB / 4.277 GB, free: 24.88 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.335e-05/11.88, allocations: 40.84 kB / 4.277 GB, free: 24.88 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/11.88, allocations: 0 / 4.277 GB, free: 24.88 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004556/11.89, allocations: 2.617 MB / 4.28 GB, free: 24.66 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.01977/11.91, allocations: 8.581 MB / 4.288 GB, free: 23.12 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/11.91, allocations: 0 / 4.288 GB, free: 23.12 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/11.91, allocations: 381 kB / 4.289 GB, free: 23.12 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006493/11.91, allocations: 309.9 kB / 4.289 GB, free: 23.07 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/11.91, allocations: 64.98 kB / 4.289 GB, free: 23.07 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/11.91, allocations: 2.504 MB / 4.291 GB, free: 20.98 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/11.91, allocations: 0 / 4.291 GB, free: 20.98 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00749/11.92, allocations: 4.761 MB / 4.296 GB, free: 20.18 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003845/11.92, allocations: 0.9879 MB / 4.297 GB, free: 19.77 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001625/11.93, allocations: 54.47 kB / 4.297 GB, free: 19.77 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005014/11.93, allocations: 440.4 kB / 4.297 GB, free: 19.74 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/11.93, allocations: 156.1 kB / 4.298 GB, free: 19.73 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003564/11.93, allocations: 109 kB / 4.298 GB, free: 19.73 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.006323/11.94, allocations: 2.802 MB / 4.3 GB, free: 19.55 MB / 1.089 GB Notification: Performance of sort global known variables: time 4.21e-07/11.94, allocations: 4.031 kB / 4.3 GB, free: 19.55 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01745/11.95, allocations: 3.594 MB / 4.304 GB, free: 19.02 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.006799/11.96, allocations: 3.434 MB / 4.307 GB, free: 17.6 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.008167/11.97, allocations: 4.443 MB / 4.312 GB, free: 17.01 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/11.97, allocations: 3.969 kB / 4.312 GB, free: 17.01 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/11.97, allocations: 1.319 MB / 4.313 GB, free: 16.95 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.016/11.99, allocations: 2.742 MB / 4.316 GB, free: 16.82 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/12.01, allocations: 11.15 MB / 4.327 GB, free: 11.23 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/12.01, allocations: 2.985 MB / 4.329 GB, free: 10.36 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.006449/12.02, allocations: 1.21 MB / 4.331 GB, free: 10.1 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/12.02, allocations: 425.3 kB / 4.331 GB, free: 10.09 MB / 1.089 GB Notification: Performance of SimCode: time 1.183e-06/12.02, allocations: 0 / 4.331 GB, free: 10.09 MB / 1.089 GB Notification: Performance of Templates: time 0.2095/12.23, allocations: 119.9 MB / 4.448 GB, free: 7.887 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)