Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001213/0.001213, allocations: 90.52 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.01022/0.01022, 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.578/1.578, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 0.5105 GB, free: 4.68 MB / 414.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.0006607/0.0006607, allocations: 16.56 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/0.5413, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop): time 0.821/1.362, allocations: 278.1 MB / 1 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03846/1.401, allocations: 24.25 MB / 1.024 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006927/1.408, allocations: 95.81 kB / 1.024 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006112/1.414, allocations: 1.442 MB / 1.025 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01746/1.432, allocations: 4.865 MB / 1.03 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00852/1.44, allocations: 2.458 MB / 1.033 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01438/1.454, allocations: 9.781 MB / 1.042 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004657/1.459, allocations: 2.216 MB / 1.044 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009034/1.468, allocations: 2.885 MB / 1.047 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006545/1.475, allocations: 2.135 MB / 1.049 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007396/1.476, allocations: 108 kB / 1.049 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/1.487, allocations: 4.41 MB / 1.054 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001751/1.489, allocations: 0.7938 MB / 1.054 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003626/1.493, allocations: 1.439 MB / 1.056 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/1.507, allocations: 5.778 MB / 1.061 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/1.507, allocations: 0 / 1.061 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.036e-06/1.507, allocations: 0 / 1.061 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.41e-05/1.507, allocations: 0 / 1.061 GB, free: 3.348 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.008482/1.516, allocations: 2.997 MB / 1.064 GB, free: 328 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.516, allocations: 15.97 kB / 1.064 GB, free: 312 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/1.52, allocations: 0.7515 MB / 1.065 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/1.525, allocations: 2.141 MB / 1.067 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1.525, allocations: 151.1 kB / 1.067 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/1.525, allocations: 188 kB / 1.068 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/1.529, allocations: 2.247 MB / 1.07 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/1.529, allocations: 0 / 1.07 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/1.529, allocations: 76 kB / 1.07 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.813e-05/1.529, allocations: 83.5 kB / 1.07 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/1.533, allocations: 1.938 MB / 1.072 GB, free: 8.668 MB / 0.7637 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.01382/1.547, allocations: 9.274 MB / 1.081 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/1.548, allocations: 1.016 MB / 1.082 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009704/1.549, allocations: 0.5857 MB / 1.082 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000887/1.55, allocations: 0.7045 MB / 1.083 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/1.55, allocations: 47.56 kB / 1.083 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001325/1.552, allocations: 160.6 kB / 1.083 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=102): time 4.148e-06/1.552, allocations: 0 / 1.083 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=104): time 0.01411/1.566, allocations: 3.792 MB / 1.087 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/1.566, allocations: 68.41 kB / 1.087 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/1.571, allocations: 2.067 MB / 1.089 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0003151/1.571, allocations: 53.64 kB / 1.089 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/1.572, allocations: 1.166 MB / 1.09 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005385/1.573, allocations: 371.5 kB / 1.091 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/1.573, allocations: 125.6 kB / 1.091 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.573, allocations: 309 kB / 1.091 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/1.575, allocations: 0.4997 MB / 1.092 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/1.577, allocations: 1.014 MB / 1.093 GB, free: 2.445 MB / 0.7794 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.01589/1.593, allocations: 3.488 MB / 1.096 GB, free: 14.74 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/1.593, allocations: 4 kB / 1.096 GB, free: 14.73 MB / 0.795 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.005206/1.598, allocations: 1.862 MB / 1.098 GB, free: 12.86 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005161/1.598, allocations: 0.5014 MB / 1.098 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.598, allocations: 12 kB / 1.098 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/1.6, allocations: 332.5 kB / 1.099 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/1.602, allocations: 303.5 kB / 1.099 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/1.604, allocations: 0.9525 MB / 1.1 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003408/1.607, allocations: 180.2 kB / 1.1 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/1.607, allocations: 71.98 kB / 1.1 GB, free: 10.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.607, allocations: 9.094 kB / 1.1 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004474/1.612, allocations: 1.599 MB / 1.102 GB, free: 8.699 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/1.612, allocations: 16 kB / 1.102 GB, free: 8.684 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/1.614, allocations: 322.8 kB / 1.102 GB, free: 8.367 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/1.616, allocations: 295.5 kB / 1.102 GB, free: 8.078 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/1.617, allocations: 0.9503 MB / 1.103 GB, free: 7.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/1.62, allocations: 154 kB / 1.103 GB, free: 6.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/1.62, allocations: 71.98 kB / 1.103 GB, free: 6.883 MB / 0.795 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.001978/1.622, allocations: 0.6606 MB / 1.104 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009509/1.623, allocations: 237.1 kB / 1.104 GB, free: 5.977 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/1.628, allocations: 1.454 MB / 1.106 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/1.628, allocations: 11.98 kB / 1.106 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.628, allocations: 0 / 1.106 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002599/1.63, allocations: 1.058 MB / 1.107 GB, free: 3.418 MB / 0.795 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.01188/1.642, allocations: 3.985 MB / 1.111 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/1.642, allocations: 4 kB / 1.111 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.644, allocations: 175.8 kB / 1.111 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/1.645, allocations: 296.6 kB / 1.111 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/1.646, allocations: 28 kB / 1.111 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/1.647, allocations: 0.9135 MB / 1.112 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/1.647, allocations: 8 kB / 1.112 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004844/1.652, allocations: 2.114 MB / 1.114 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/1.654, allocations: 446 kB / 1.114 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007843/1.654, allocations: 27.98 kB / 1.114 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.657, allocations: 123.8 kB / 1.115 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/1.657, allocations: 80.33 kB / 1.115 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/1.657, allocations: 47.97 kB / 1.115 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002206/1.659, allocations: 1.396 MB / 1.116 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/1.659, allocations: 4 kB / 1.116 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003778/1.663, allocations: 1.098 MB / 1.117 GB, free: 8.367 MB / 0.8106 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.001101/1.664, allocations: 0.4902 MB / 1.118 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004149/1.668, allocations: 2.07 MB / 1.12 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.668, allocations: 4 kB / 1.12 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/1.67, allocations: 0.5481 MB / 1.12 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008704/1.679, allocations: 1.314 MB / 1.121 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008034/1.687, allocations: 5.084 MB / 1.126 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/1.688, allocations: 1.682 MB / 1.128 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002997/1.691, allocations: 0.5636 MB / 1.129 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004522/1.692, allocations: 163.4 kB / 1.129 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of SimCode: time 1.112e-06/1.692, allocations: 0 / 1.129 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of Templates: time 0.08679/1.779, allocations: 48.83 MB / 1.176 GB, free: 12.2 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) Environment - environmentSimulation: