Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.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.594/1.594, allocations: 285.4 MB / 298 MB, free: 5.98 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.001035/0.001035, allocations: 180.9 kB / 366.4 MB, free: 2.113 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.936/1.936, allocations: 205.1 MB / 0.6248 GB, free: 7.777 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.0009438/0.0009439, allocations: 93.78 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.678e-05/3.68e-05, allocations: 4 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8929/0.8929, allocations: 115.3 MB / 0.9709 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.457/6.35, allocations: 2.086 GB / 3.057 GB, free: 52.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/6.351, allocations: 88.45 kB / 3.057 GB, free: 52.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.998/10.35, allocations: 1.036 GB / 4.093 GB, free: 98.67 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.222e-06/10.35, allocations: 0 / 4.093 GB, free: 98.67 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003157/10.35, allocations: 47.98 kB / 4.093 GB, free: 98.62 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006388/10.36, allocations: 2.066 MB / 4.095 GB, free: 96.49 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/10.36, allocations: 12.03 kB / 4.095 GB, free: 96.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004715/10.36, allocations: 0.6337 MB / 4.096 GB, free: 95.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/10.37, allocations: 1.433 MB / 4.098 GB, free: 94.36 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000401/10.37, allocations: 154.2 kB / 4.098 GB, free: 94.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005191/10.37, allocations: 127.9 kB / 4.098 GB, free: 94.08 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/10.37, allocations: 1.348 MB / 4.099 GB, free: 92.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/10.37, allocations: 7.938 kB / 4.099 GB, free: 92.65 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/10.37, allocations: 48 kB / 4.099 GB, free: 92.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/10.37, allocations: 46.16 kB / 4.099 GB, free: 92.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/10.37, allocations: 1.044 MB / 4.1 GB, free: 91.5 MB / 0.948 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.009311/10.38, allocations: 5.875 MB / 4.106 GB, free: 85.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/10.38, allocations: 0.9799 MB / 4.107 GB, free: 84.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006155/10.38, allocations: 487 kB / 4.107 GB, free: 83.81 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/10.38, allocations: 312 kB / 4.108 GB, free: 83.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007695/10.38, allocations: 0.5379 MB / 4.108 GB, free: 82.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 2.796e-06/10.38, allocations: 0 / 4.108 GB, free: 82.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.007086/10.39, allocations: 3.048 MB / 4.111 GB, free: 79.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/10.39, allocations: 196.7 kB / 4.111 GB, free: 79.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/10.39, allocations: 1.142 MB / 4.112 GB, free: 78.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/10.39, allocations: 45.7 kB / 4.113 GB, free: 78.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000616/10.39, allocations: 0.7177 MB / 4.113 GB, free: 77.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/10.39, allocations: 327.3 kB / 4.114 GB, free: 77.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/10.39, allocations: 20 kB / 4.114 GB, free: 77.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.996e-05/10.4, allocations: 352.9 kB / 4.114 GB, free: 76.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/10.4, allocations: 381.9 kB / 4.114 GB, free: 76.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007035/10.4, allocations: 0.6165 MB / 4.115 GB, free: 75.85 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009629/10.41, allocations: 2.369 MB / 4.117 GB, free: 73.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/10.41, allocations: 0 / 4.117 GB, free: 73.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00402/10.41, allocations: 1.651 MB / 4.119 GB, free: 71.77 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003929/10.41, allocations: 1.299 MB / 4.12 GB, free: 70.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/10.41, allocations: 4 kB / 4.12 GB, free: 70.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/10.41, allocations: 419.1 kB / 4.12 GB, free: 69.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/10.41, allocations: 175.8 kB / 4.121 GB, free: 69.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/10.42, allocations: 6.892 MB / 4.127 GB, free: 62.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/10.42, allocations: 151.7 kB / 4.127 GB, free: 62.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/10.42, allocations: 39.98 kB / 4.128 GB, free: 62.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/10.42, allocations: 4 kB / 4.128 GB, free: 62.26 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003474/10.42, allocations: 1.495 MB / 4.129 GB, free: 60.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/10.42, allocations: 4 kB / 4.129 GB, free: 60.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/10.43, allocations: 427.5 kB / 4.129 GB, free: 60.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/10.43, allocations: 171.8 kB / 4.13 GB, free: 60.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/10.43, allocations: 7.899 MB / 4.137 GB, free: 51.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/10.44, allocations: 147.7 kB / 4.137 GB, free: 51.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/10.44, allocations: 36 kB / 4.137 GB, free: 51.51 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * 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 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000487/10.44, allocations: 194.5 kB / 4.138 GB, free: 51.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005041/10.44, allocations: 162 kB / 4.138 GB, free: 51.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/10.44, allocations: 1.465 MB / 4.139 GB, free: 49.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/10.44, allocations: 12 kB / 4.139 GB, free: 49.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/10.44, allocations: 0 / 4.139 GB, free: 49.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002561/10.44, allocations: 1.307 MB / 4.141 GB, free: 48.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006798/10.45, allocations: 3.353 MB / 4.144 GB, free: 44.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/10.45, allocations: 8.062 kB / 4.144 GB, free: 44.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/10.45, allocations: 187.8 kB / 4.144 GB, free: 44.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/10.45, allocations: 193.6 kB / 4.144 GB, free: 44.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.949e-05/10.45, allocations: 31.98 kB / 4.144 GB, free: 44.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/10.45, allocations: 2.487 MB / 4.147 GB, free: 41.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/10.45, allocations: 8 kB / 4.147 GB, free: 41.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/10.46, allocations: 2.417 MB / 4.149 GB, free: 39.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009965/10.46, allocations: 370.9 kB / 4.149 GB, free: 38.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004292/10.46, allocations: 31.98 kB / 4.149 GB, free: 38.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/10.46, allocations: 139.8 kB / 4.15 GB, free: 38.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/10.46, allocations: 68.59 kB / 4.15 GB, free: 38.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/10.46, allocations: 35.98 kB / 4.15 GB, free: 38.47 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001499/10.46, allocations: 0.8934 MB / 4.15 GB, free: 37.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/10.46, allocations: 0 / 4.15 GB, free: 37.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004145/10.47, allocations: 1.023 MB / 4.151 GB, free: 36.55 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003415/10.47, allocations: 2.363 MB / 4.154 GB, free: 34.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003637/10.47, allocations: 2.703 MB / 4.156 GB, free: 31.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/10.47, allocations: 0 / 4.156 GB, free: 31.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008671/10.47, allocations: 0.7095 MB / 4.157 GB, free: 30.46 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/10.48, allocations: 0.8656 MB / 4.158 GB, free: 29.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/10.48, allocations: 2.631 MB / 4.161 GB, free: 26.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009108/10.49, allocations: 1.394 MB / 4.162 GB, free: 25.47 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002325/10.49, allocations: 492.7 kB / 4.162 GB, free: 24.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/10.49, allocations: 91.42 kB / 4.162 GB, free: 24.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.493e-06/10.49, allocations: 0 / 4.162 GB, free: 24.89 MB / 0.948 GB Notification: Performance of Templates: time 0.6418/11.13, allocations: 70.63 MB / 4.231 GB, free: 163.8 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)