Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.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.73/1.73, allocations: 293 MB / 309 MB, free: 4.824 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.001224/0.001223, allocations: 180.6 kB / 378.7 MB, free: 1.023 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.778/1.778, allocations: 205.4 MB / 0.6383 GB, free: 9.09 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.0008242/0.0008245, allocations: 90.19 kB / 0.7527 GB, free: 62.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004212/0.0004212, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2886, allocations: 116.4 MB / 0.9904 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.227/5.515, allocations: 2.087 GB / 3.078 GB, free: 128.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/5.516, allocations: 96.45 kB / 3.078 GB, free: 128.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.768/9.284, allocations: 1.026 GB / 4.104 GB, free: 125.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.893e-06/9.284, allocations: 0 / 4.104 GB, free: 125.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003106/9.284, allocations: 44.8 kB / 4.104 GB, free: 125.8 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.01034/9.295, allocations: 2.36 MB / 4.106 GB, free: 124.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/9.295, allocations: 11.31 kB / 4.106 GB, free: 124.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/9.299, allocations: 0.6211 MB / 4.107 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005731/9.305, allocations: 1.509 MB / 4.108 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004291/9.306, allocations: 167.8 kB / 4.108 GB, free: 123.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006634/9.306, allocations: 124.4 kB / 4.108 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/9.311, allocations: 1.485 MB / 4.11 GB, free: 122.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/9.311, allocations: 3.688 kB / 4.11 GB, free: 122.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/9.311, allocations: 46.22 kB / 4.11 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/9.311, allocations: 40.69 kB / 4.11 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/9.313, allocations: 1.252 MB / 4.111 GB, free: 122.1 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.00827/9.322, allocations: 5.899 MB / 4.117 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/9.323, allocations: 1.173 MB / 4.118 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009473/9.324, allocations: 0.5707 MB / 4.119 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/9.325, allocations: 317.2 kB / 4.119 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/9.326, allocations: 0.6308 MB / 4.12 GB, free: 117.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 4.599e-06/9.326, allocations: 0 / 4.12 GB, free: 117.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01256/9.339, allocations: 4.382 MB / 4.124 GB, free: 115.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/9.339, allocations: 195.9 kB / 4.124 GB, free: 115 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002753/9.342, allocations: 1.35 MB / 4.125 GB, free: 114.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002902/9.342, allocations: 44.92 kB / 4.125 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008124/9.343, allocations: 0.7177 MB / 4.126 GB, free: 113.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000378/9.343, allocations: 329.1 kB / 4.126 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/9.343, allocations: 18.97 kB / 4.126 GB, free: 113.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001275/9.343, allocations: 339.4 kB / 4.127 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/9.344, allocations: 485.9 kB / 4.127 GB, free: 113.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/9.345, allocations: 0.7243 MB / 4.128 GB, free: 112.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/9.358, allocations: 3.676 MB / 4.131 GB, free: 111.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/9.358, allocations: 3.688 kB / 4.132 GB, free: 111.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.004845/9.363, allocations: 1.848 MB / 4.133 GB, free: 110.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/9.363, allocations: 225.5 kB / 4.134 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/9.363, allocations: 3.812 kB / 4.134 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/9.364, allocations: 479.6 kB / 4.134 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/9.365, allocations: 179.7 kB / 4.134 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007936/9.373, allocations: 7.124 MB / 4.141 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/9.375, allocations: 149.8 kB / 4.141 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/9.375, allocations: 41.98 kB / 4.141 GB, free: 104.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/9.375, allocations: 3.938 kB / 4.141 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003973/9.379, allocations: 1.689 MB / 4.143 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/9.379, allocations: 7.719 kB / 4.143 GB, free: 104 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/9.38, allocations: 447 kB / 4.143 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/9.381, allocations: 177.3 kB / 4.144 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008805/9.39, allocations: 8.135 MB / 4.151 GB, free: 97.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/9.392, allocations: 162.2 kB / 4.152 GB, free: 97.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/9.392, allocations: 40.38 kB / 4.152 GB, free: 97.14 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.001392/9.394, allocations: 0.5048 MB / 4.152 GB, free: 96.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/9.394, allocations: 171.3 kB / 4.152 GB, free: 96.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/9.399, allocations: 1.672 MB / 4.154 GB, free: 96.04 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/9.399, allocations: 11.06 kB / 4.154 GB, free: 96.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/9.399, allocations: 3.938 kB / 4.154 GB, free: 96.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003415/9.402, allocations: 1.533 MB / 4.155 GB, free: 95.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00796/9.41, allocations: 3.562 MB / 4.159 GB, free: 93.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/9.41, allocations: 3.812 kB / 4.159 GB, free: 93.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008623/9.411, allocations: 193.3 kB / 4.159 GB, free: 93.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006356/9.412, allocations: 244.5 kB / 4.159 GB, free: 93.69 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/9.412, allocations: 27.5 kB / 4.159 GB, free: 93.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003429/9.415, allocations: 2.663 MB / 4.162 GB, free: 91.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/9.415, allocations: 11.12 kB / 4.162 GB, free: 91.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005747/9.421, allocations: 2.468 MB / 4.164 GB, free: 90.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/9.423, allocations: 367.7 kB / 4.165 GB, free: 90.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007057/9.423, allocations: 26.59 kB / 4.165 GB, free: 90.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/9.425, allocations: 140.5 kB / 4.165 GB, free: 90.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/9.426, allocations: 75.64 kB / 4.165 GB, free: 90.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/9.426, allocations: 39.91 kB / 4.165 GB, free: 90.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002195/9.428, allocations: 0.9108 MB / 4.166 GB, free: 89.74 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/9.428, allocations: 0 / 4.166 GB, free: 89.74 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004603/9.432, allocations: 0.9857 MB / 4.167 GB, free: 89.54 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.004051/9.437, allocations: 2.352 MB / 4.169 GB, free: 88.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005996/9.443, allocations: 3.138 MB / 4.172 GB, free: 86.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/9.443, allocations: 0 / 4.172 GB, free: 86.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/9.444, allocations: 0.8074 MB / 4.173 GB, free: 86.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006445/9.45, allocations: 0.8494 MB / 4.174 GB, free: 86.08 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008766/9.459, allocations: 3.969 MB / 4.178 GB, free: 83.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/9.461, allocations: 1.35 MB / 4.179 GB, free: 81.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002181/9.463, allocations: 343.7 kB / 4.179 GB, free: 81.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/9.463, allocations: 118.4 kB / 4.18 GB, free: 81.62 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/9.463, allocations: 0 / 4.18 GB, free: 81.62 MB / 0.948 GB Notification: Performance of Templates: time 0.09055/9.554, allocations: 61.55 MB / 4.24 GB, free: 21 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)