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.632/1.632, allocations: 288.4 MB / 304.3 MB, free: 8.102 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.00104/0.00104, allocations: 187.9 kB / 373 MB, free: 10.14 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.652/1.652, allocations: 205.4 MB / 0.6317 GB, free: 9.918 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.0007187/0.0007187, allocations: 89.59 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 20.7 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2277, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.533/4.761, allocations: 2.086 GB / 3.067 GB, free: 229.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/4.761, allocations: 95.95 kB / 3.067 GB, free: 229.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.293/8.054, allocations: 1.026 GB / 4.093 GB, free: 148.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.825e-06/8.054, allocations: 0 / 4.093 GB, free: 148.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002381/8.054, allocations: 53.41 kB / 4.093 GB, free: 148.7 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.007875/8.062, allocations: 2.358 MB / 4.095 GB, free: 147.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/8.062, allocations: 7.812 kB / 4.095 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006708/8.069, allocations: 0.6256 MB / 4.096 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/8.075, allocations: 1.504 MB / 4.097 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005313/8.075, allocations: 156.4 kB / 4.098 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003446/8.075, allocations: 127.4 kB / 4.098 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/8.078, allocations: 1.477 MB / 4.099 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/8.078, allocations: 1.312 kB / 4.099 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/8.078, allocations: 51 kB / 4.099 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/8.078, allocations: 45.8 kB / 4.099 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/8.081, allocations: 1.256 MB / 4.1 GB, free: 146.9 MB / 0.948 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.008165/8.089, allocations: 5.901 MB / 4.106 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/8.091, allocations: 1.17 MB / 4.107 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009826/8.092, allocations: 0.5789 MB / 4.108 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/8.092, allocations: 307.1 kB / 4.108 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/8.093, allocations: 0.6357 MB / 4.109 GB, free: 144 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 3.267e-06/8.093, allocations: 3.938 kB / 4.109 GB, free: 144 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01122/8.105, allocations: 4.367 MB / 4.113 GB, free: 143.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/8.105, allocations: 197.5 kB / 4.113 GB, free: 142.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/8.107, allocations: 1.339 MB / 4.115 GB, free: 142.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/8.107, allocations: 43.39 kB / 4.115 GB, free: 142.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005958/8.107, allocations: 0.7263 MB / 4.115 GB, free: 142.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/8.108, allocations: 332.1 kB / 4.116 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/8.108, allocations: 22.41 kB / 4.116 GB, free: 142.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.602e-05/8.108, allocations: 342.5 kB / 4.116 GB, free: 142 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009554/8.109, allocations: 484.2 kB / 4.116 GB, free: 141.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/8.11, allocations: 0.7187 MB / 4.117 GB, free: 141.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/8.123, allocations: 3.68 MB / 4.121 GB, free: 141.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/8.123, allocations: 7.344 kB / 4.121 GB, free: 141.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.005144/8.128, allocations: 1.845 MB / 4.123 GB, free: 141.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/8.128, allocations: 224.8 kB / 4.123 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/8.128, allocations: 7.281 kB / 4.123 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/8.13, allocations: 475.4 kB / 4.123 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/8.131, allocations: 172 kB / 4.123 GB, free: 140.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007382/8.138, allocations: 7.143 MB / 4.13 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/8.14, allocations: 151.6 kB / 4.131 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/8.14, allocations: 41 kB / 4.131 GB, free: 136.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/8.14, allocations: 3.906 kB / 4.131 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003835/8.144, allocations: 1.678 MB / 4.132 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/8.144, allocations: 7.781 kB / 4.132 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/8.145, allocations: 457.5 kB / 4.133 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/8.146, allocations: 171.3 kB / 4.133 GB, free: 136.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008019/8.154, allocations: 8.143 MB / 4.141 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/8.156, allocations: 150.9 kB / 4.141 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/8.156, allocations: 40.62 kB / 4.141 GB, free: 130.9 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: 15 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * 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.001058/8.157, allocations: 0.5064 MB / 4.141 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/8.157, allocations: 163.9 kB / 4.142 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/8.161, allocations: 1.682 MB / 4.143 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/8.161, allocations: 10.56 kB / 4.143 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/8.161, allocations: 3.844 kB / 4.143 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003253/8.164, allocations: 1.528 MB / 4.145 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/8.171, allocations: 3.553 MB / 4.148 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/8.171, allocations: 3.938 kB / 4.148 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008521/8.172, allocations: 199.8 kB / 4.148 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005859/8.173, allocations: 235.4 kB / 4.149 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.255e-05/8.173, allocations: 34.19 kB / 4.149 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/8.176, allocations: 2.661 MB / 4.151 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/8.176, allocations: 10.22 kB / 4.151 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005628/8.182, allocations: 2.476 MB / 4.154 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/8.183, allocations: 369.1 kB / 4.154 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/8.184, allocations: 29.34 kB / 4.154 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/8.185, allocations: 136.8 kB / 4.154 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/8.185, allocations: 70.33 kB / 4.154 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/8.185, allocations: 45.88 kB / 4.154 GB, free: 127.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001552/8.187, allocations: 0.9121 MB / 4.155 GB, free: 127.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.1e-07/8.187, allocations: 0 / 4.155 GB, free: 127.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004085/8.191, allocations: 0.9845 MB / 4.156 GB, free: 127.1 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.Xi[1],heaDyn.vol.dynBal.medium.T,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) * Number of clocked states: 0 () * 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.003296/8.194, allocations: 2.352 MB / 4.158 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005728/8.2, allocations: 3.13 MB / 4.162 GB, free: 125.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/8.2, allocations: 3.219 kB / 4.162 GB, free: 125.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/8.201, allocations: 0.8113 MB / 4.162 GB, free: 125.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005044/8.206, allocations: 0.8597 MB / 4.163 GB, free: 125.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/8.213, allocations: 3.958 MB / 4.167 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/8.213, allocations: 1.345 MB / 4.168 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001667/8.215, allocations: 347 kB / 4.169 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/8.215, allocations: 113.4 kB / 4.169 GB, free: 122.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/8.215, allocations: 2.406 kB / 4.169 GB, free: 122.7 MB / 0.948 GB Notification: Performance of Templates: time 0.07904/8.295, allocations: 61.58 MB / 4.229 GB, free: 112.2 MB / 0.948 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)