Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 387.1 MB / 399.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 172.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.3 MB / 0.7871 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009092, allocations: 97.7 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.185e-05, allocations: 6.891 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3078, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.647/5.955, allocations: 2.211 GB / 3.423 GB, free: 70.38 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/5.956, allocations: 106.1 kB / 3.423 GB, free: 70.32 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.771/12.73, allocations: 1.698 GB / 5.121 GB, free: 154.9 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.994e-06/12.73, allocations: 0 / 5.121 GB, free: 154.9 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0003253/12.73, allocations: 77.48 kB / 5.121 GB, free: 154.8 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.0118/12.74, allocations: 2.881 MB / 5.124 GB, free: 152.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/12.74, allocations: 9.031 kB / 5.124 GB, free: 152.9 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00629/12.75, allocations: 0.7577 MB / 5.125 GB, free: 152.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/12.76, allocations: 2.832 MB / 5.127 GB, free: 150.6 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/12.76, allocations: 146.1 kB / 5.128 GB, free: 150.5 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/12.76, allocations: 186.7 kB / 5.128 GB, free: 150.5 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006552/12.76, allocations: 2.177 MB / 5.13 GB, free: 148.5 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.142e-05/12.76, allocations: 7.938 kB / 5.13 GB, free: 148.5 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/12.76, allocations: 72 kB / 5.13 GB, free: 148.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.075e-05/12.76, allocations: 75.52 kB / 5.13 GB, free: 148.3 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/12.77, allocations: 1.829 MB / 5.132 GB, free: 146.5 MB / 1.198 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.01334/12.78, allocations: 9.185 MB / 5.141 GB, free: 136.9 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/12.78, allocations: 0.9693 MB / 5.142 GB, free: 135.9 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/12.78, allocations: 0.5693 MB / 5.142 GB, free: 135.3 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004483/12.79, allocations: 2.32 MB / 5.145 GB, free: 132.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/12.79, allocations: 43.8 kB / 5.145 GB, free: 132.8 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001597/12.79, allocations: 178.2 kB / 5.145 GB, free: 132.6 MB / 1.198 GB Notification: Performance of pre-optimization done (n=101): time 8.907e-06/12.79, allocations: 0 / 5.145 GB, free: 132.6 MB / 1.198 GB Notification: Performance of matching and sorting (n=103): time 0.007581/12.8, allocations: 2.979 MB / 5.148 GB, free: 129.6 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/12.8, allocations: 68.14 kB / 5.148 GB, free: 129.5 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005374/12.8, allocations: 1.773 MB / 5.149 GB, free: 127.7 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005114/12.8, allocations: 49.7 kB / 5.149 GB, free: 127.7 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001569/12.8, allocations: 1.184 MB / 5.151 GB, free: 126.4 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007936/12.8, allocations: 366.7 kB / 5.151 GB, free: 126.1 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/12.8, allocations: 28 kB / 5.151 GB, free: 126.1 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002084/12.81, allocations: 365.8 kB / 5.151 GB, free: 125.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/12.81, allocations: 455.9 kB / 5.152 GB, free: 125.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/12.81, allocations: 1.014 MB / 5.153 GB, free: 124 MB / 1.198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/12.82, allocations: 2.295 MB / 5.155 GB, free: 121.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/12.82, allocations: 6.812 kB / 5.155 GB, free: 121.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004704/12.82, allocations: 1.869 MB / 5.157 GB, free: 119.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001975/12.83, allocations: 5.97 MB / 5.163 GB, free: 113.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/12.83, allocations: 16 kB / 5.163 GB, free: 113.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/12.83, allocations: 357.7 kB / 5.163 GB, free: 113 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/12.83, allocations: 299.5 kB / 5.163 GB, free: 112.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/12.83, allocations: 0.972 MB / 5.164 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/12.83, allocations: 179.5 kB / 5.164 GB, free: 111.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/12.83, allocations: 79.97 kB / 5.165 GB, free: 111.5 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/12.83, allocations: 4 kB / 5.165 GB, free: 111.5 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003638/12.84, allocations: 1.637 MB / 5.166 GB, free: 109.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/12.84, allocations: 16.53 kB / 5.166 GB, free: 109.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/12.84, allocations: 363.1 kB / 5.166 GB, free: 109.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/12.84, allocations: 295.5 kB / 5.167 GB, free: 109.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008986/12.84, allocations: 0.9665 MB / 5.168 GB, free: 108.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/12.84, allocations: 155.6 kB / 5.168 GB, free: 108 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/12.84, allocations: 79.97 kB / 5.168 GB, free: 107.9 MB / 1.198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.000425/12.84, allocations: 219.8 kB / 5.168 GB, free: 107.7 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006961/12.84, allocations: 241 kB / 5.168 GB, free: 107.5 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/12.85, allocations: 1.517 MB / 5.17 GB, free: 105.9 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/12.85, allocations: 11.98 kB / 5.17 GB, free: 105.9 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/12.85, allocations: 4 kB / 5.17 GB, free: 105.9 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002248/12.85, allocations: 1.179 MB / 5.171 GB, free: 104.7 MB / 1.198 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.007512/12.86, allocations: 3.841 MB / 5.175 GB, free: 100.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/12.86, allocations: 8 kB / 5.175 GB, free: 100.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008573/12.86, allocations: 179.7 kB / 5.175 GB, free: 100.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/12.86, allocations: 323.6 kB / 5.175 GB, free: 100.2 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/12.86, allocations: 31.98 kB / 5.175 GB, free: 100.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008179/12.86, allocations: 0.9358 MB / 5.176 GB, free: 99.25 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/12.86, allocations: 7.938 kB / 5.176 GB, free: 99.24 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/12.86, allocations: 2.555 MB / 5.179 GB, free: 96.44 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/12.87, allocations: 442.1 kB / 5.179 GB, free: 95.98 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006657/12.87, allocations: 32 kB / 5.179 GB, free: 95.95 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/12.87, allocations: 99.75 kB / 5.179 GB, free: 95.86 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/12.87, allocations: 80.59 kB / 5.179 GB, free: 95.78 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/12.87, allocations: 51.53 kB / 5.179 GB, free: 95.73 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002585/12.87, allocations: 1.36 MB / 5.181 GB, free: 94.36 MB / 1.198 GB Notification: Performance of sort global known variables: time 2.81e-07/12.87, allocations: 0 / 5.181 GB, free: 94.36 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00608/12.88, allocations: 1.406 MB / 5.182 GB, free: 92.95 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00621/12.88, allocations: 3.73 MB / 5.186 GB, free: 88.98 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.004688/12.89, allocations: 2.073 MB / 5.188 GB, free: 86.91 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/12.89, allocations: 0 / 5.188 GB, free: 86.91 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/12.89, allocations: 0.5585 MB / 5.188 GB, free: 86.36 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007423/12.9, allocations: 1.301 MB / 5.19 GB, free: 85.12 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009927/12.91, allocations: 3.983 MB / 5.193 GB, free: 81.03 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/12.91, allocations: 1.738 MB / 5.195 GB, free: 79.26 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004425/12.91, allocations: 0.7967 MB / 5.196 GB, free: 78.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/12.91, allocations: 135.4 kB / 5.196 GB, free: 78.36 MB / 1.198 GB Notification: Performance of SimCode: time 9.92e-07/12.91, allocations: 0 / 5.196 GB, free: 78.36 MB / 1.198 GB Notification: Performance of Templates: time 0.1246/13.04, allocations: 92.12 MB / 5.286 GB, free: 2.965 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches