Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007901/0.0007901, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00571/0.00571, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006027/0.0006026, allocations: 14.5 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3093, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.9646/1.274, allocations: 277.7 MB / 1.059 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03912/1.313, allocations: 24.17 MB / 1.083 GB, free: 14.06 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006305/1.319, allocations: 95.38 kB / 1.083 GB, free: 13.96 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006068/1.326, allocations: 1.438 MB / 1.084 GB, free: 12.52 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01998/1.346, allocations: 4.841 MB / 1.089 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009012/1.355, allocations: 2.439 MB / 1.091 GB, free: 5.238 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01752/1.372, allocations: 9.624 MB / 1.101 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/1.377, allocations: 2.177 MB / 1.103 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009222/1.386, allocations: 2.855 MB / 1.106 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006433/1.393, allocations: 2.127 MB / 1.108 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0008038/1.394, allocations: 108 kB / 1.108 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01192/1.406, allocations: 4.407 MB / 1.112 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002017/1.408, allocations: 0.7746 MB / 1.113 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003191/1.411, allocations: 1.424 MB / 1.114 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/1.424, allocations: 5.732 MB / 1.12 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.424, allocations: 0 / 1.12 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.405e-06/1.424, allocations: 0 / 1.12 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001107/1.424, allocations: 0 / 1.12 GB, free: 7.871 MB / 0.8262 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.009282/1.434, allocations: 2.982 MB / 1.123 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.434, allocations: 8.031 kB / 1.123 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004803/1.439, allocations: 0.7497 MB / 1.123 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/1.444, allocations: 2.147 MB / 1.126 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/1.444, allocations: 143.6 kB / 1.126 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004743/1.445, allocations: 184 kB / 1.126 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005832/1.451, allocations: 2.235 MB / 1.128 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.225e-05/1.451, allocations: 3.984 kB / 1.128 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/1.451, allocations: 79.98 kB / 1.128 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.473e-05/1.451, allocations: 83.47 kB / 1.128 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/1.456, allocations: 1.919 MB / 1.13 GB, free: 13.14 MB / 0.8419 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.01703/1.473, allocations: 9.25 MB / 1.139 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/1.475, allocations: 1.039 MB / 1.14 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/1.476, allocations: 0.5818 MB / 1.141 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009514/1.477, allocations: 0.7166 MB / 1.141 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/1.477, allocations: 43.56 kB / 1.141 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001467/1.478, allocations: 158.4 kB / 1.142 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=102): time 1.114e-05/1.478, allocations: 0 / 1.142 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of matching and sorting (n=104): time 0.0113/1.49, allocations: 3.811 MB / 1.145 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/1.49, allocations: 68.34 kB / 1.145 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005225/1.495, allocations: 2.054 MB / 1.147 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/1.495, allocations: 49.7 kB / 1.147 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.496, allocations: 1.156 MB / 1.149 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004983/1.497, allocations: 370.7 kB / 1.149 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/1.497, allocations: 129.6 kB / 1.149 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.497, allocations: 301.1 kB / 1.149 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/1.498, allocations: 0.5075 MB / 1.15 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/1.5, allocations: 1.014 MB / 1.151 GB, free: 6.805 MB / 0.8575 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.01228/1.512, allocations: 3.516 MB / 1.154 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/1.512, allocations: 11.94 kB / 1.154 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.004637/1.517, allocations: 1.863 MB / 1.156 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005365/1.518, allocations: 0.5166 MB / 1.157 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/1.518, allocations: 16 kB / 1.157 GB, free: 468 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/1.519, allocations: 316.5 kB / 1.157 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.52, allocations: 303.5 kB / 1.157 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/1.522, allocations: 0.9593 MB / 1.158 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/1.524, allocations: 168.2 kB / 1.158 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/1.525, allocations: 71.98 kB / 1.158 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/1.525, allocations: 4 kB / 1.158 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00336/1.528, allocations: 1.605 MB / 1.16 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/1.528, allocations: 16 kB / 1.16 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/1.53, allocations: 324.9 kB / 1.16 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.531, allocations: 295.5 kB / 1.161 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/1.532, allocations: 0.9646 MB / 1.161 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/1.535, allocations: 148.3 kB / 1.162 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/1.535, allocations: 67.98 kB / 1.162 GB, free: 11.19 MB / 0.8731 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 157 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.001687/1.536, allocations: 0.6645 MB / 1.162 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007379/1.537, allocations: 233.1 kB / 1.163 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/1.541, allocations: 1.451 MB / 1.164 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.541, allocations: 19.94 kB / 1.164 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.541, allocations: 3.984 kB / 1.164 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001803/1.542, allocations: 1.051 MB / 1.165 GB, free: 7.738 MB / 0.8731 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.00874/1.551, allocations: 3.973 MB / 1.169 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.551, allocations: 11.94 kB / 1.169 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/1.552, allocations: 183.7 kB / 1.169 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/1.553, allocations: 293.2 kB / 1.169 GB, free: 3.086 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.531e-05/1.554, allocations: 28 kB / 1.169 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/1.555, allocations: 0.9113 MB / 1.17 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/1.555, allocations: 15.88 kB / 1.17 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/1.558, allocations: 2.127 MB / 1.172 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.56, allocations: 430 kB / 1.173 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006345/1.56, allocations: 31.98 kB / 1.173 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/1.562, allocations: 111.8 kB / 1.173 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/1.562, allocations: 84.38 kB / 1.173 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/1.562, allocations: 47.98 kB / 1.173 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002993/1.565, allocations: 1.384 MB / 1.174 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.8e-07/1.565, allocations: 0 / 1.174 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005007/1.57, allocations: 1.094 MB / 1.175 GB, free: 12.68 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * 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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/1.572, allocations: 0.4943 MB / 1.176 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004854/1.577, allocations: 2.086 MB / 1.178 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.577, allocations: 0 / 1.178 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/1.578, allocations: 0.5541 MB / 1.179 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009502/1.588, allocations: 1.311 MB / 1.18 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009199/1.597, allocations: 5.039 MB / 1.185 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/1.599, allocations: 1.678 MB / 1.186 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.003661/1.603, allocations: 0.5614 MB / 1.187 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/1.604, allocations: 163.4 kB / 1.187 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of SimCode: time 1.643e-06/1.604, allocations: 0 / 1.187 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of Templates: time 0.08421/1.688, allocations: 48.66 MB / 1.235 GB, free: 0.6289 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) Environment - environmentSimulation: