Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.28/2.28, allocations: 251.2 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 172.1 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 90.28 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.0006493, allocations: 12.81 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2311, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 1.064/1.295, allocations: 232.2 MB / 1.126 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03145/1.327, allocations: 16.87 MB / 1.142 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004773/1.332, allocations: 71.06 kB / 1.142 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005171/1.337, allocations: 0.7259 MB / 1.143 GB, free: 2.992 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0159/1.353, allocations: 2.81 MB / 1.146 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008475/1.362, allocations: 1.361 MB / 1.147 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01455/1.376, allocations: 5.887 MB / 1.153 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005629/1.382, allocations: 1.408 MB / 1.154 GB, free: 2.172 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00782/1.39, allocations: 1.775 MB / 1.156 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005226/1.395, allocations: 1.405 MB / 1.157 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009938/1.396, allocations: 66.75 kB / 1.157 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009555/1.406, allocations: 1.55 MB / 1.159 GB, free: 1.328 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001805/1.408, allocations: 467.8 kB / 1.159 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002079/1.41, allocations: 434.2 kB / 1.16 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008198/1.418, allocations: 2.612 MB / 1.162 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/1.418, allocations: 0 / 1.162 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.757e-06/1.418, allocations: 0 / 1.162 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001338/1.418, allocations: 3.938 kB / 1.162 GB, free: 15.82 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.009878/1.428, allocations: 2.138 MB / 1.164 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/1.428, allocations: 8.219 kB / 1.164 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0047/1.433, allocations: 370.9 kB / 1.165 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006312/1.439, allocations: 1.354 MB / 1.166 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/1.44, allocations: 109.7 kB / 1.166 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004986/1.44, allocations: 146.5 kB / 1.166 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005761/1.446, allocations: 1.507 MB / 1.168 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.231e-05/1.446, allocations: 1.781 kB / 1.168 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/1.446, allocations: 60.06 kB / 1.168 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/1.447, allocations: 55.86 kB / 1.168 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005258/1.452, allocations: 1.16 MB / 1.169 GB, free: 12.99 MB / 0.7136 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.01996/1.472, allocations: 7.201 MB / 1.176 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/1.475, allocations: 0.8152 MB / 1.177 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002105/1.477, allocations: 453.3 kB / 1.177 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002137/1.48, allocations: 0.7286 MB / 1.178 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.797e-05/1.48, allocations: 40.84 kB / 1.178 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=74): time 5.951e-06/1.48, allocations: 3.375 kB / 1.178 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74): time 0.01805/1.498, allocations: 2.117 MB / 1.18 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/1.498, allocations: 65.95 kB / 1.18 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004041/1.502, allocations: 1.296 MB / 1.182 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/1.502, allocations: 44.95 kB / 1.182 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.504, allocations: 0.8073 MB / 1.182 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00059/1.504, allocations: 260.2 kB / 1.183 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/1.504, allocations: 15.72 kB / 1.183 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002152/1.505, allocations: 344.4 kB / 1.183 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.506, allocations: 328.3 kB / 1.183 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/1.508, allocations: 0.5638 MB / 1.184 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/1.509, allocations: 408.7 kB / 1.184 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/1.509, allocations: 0 / 1.184 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005879/1.515, allocations: 1.261 MB / 1.185 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002704/1.516, allocations: 237.3 kB / 1.186 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/1.516, allocations: 3.312 kB / 1.186 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004094/1.52, allocations: 416.6 kB / 1.186 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/1.521, allocations: 163.8 kB / 1.186 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/1.525, allocations: 2.052 MB / 1.188 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/1.528, allocations: 195 kB / 1.188 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/1.528, allocations: 36.81 kB / 1.188 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.528, allocations: 4 kB / 1.188 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004385/1.533, allocations: 1.054 MB / 1.189 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/1.533, allocations: 4 kB / 1.189 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003153/1.536, allocations: 383.4 kB / 1.19 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.538, allocations: 156.6 kB / 1.19 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006597/1.544, allocations: 3.858 MB / 1.194 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/1.547, allocations: 182.6 kB / 1.194 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/1.547, allocations: 38.48 kB / 1.194 GB, free: 12.06 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001631/1.549, allocations: 461.8 kB / 1.194 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007089/1.55, allocations: 158.1 kB / 1.195 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005946/1.556, allocations: 1.207 MB / 1.196 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/1.556, allocations: 11.94 kB / 1.196 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.556, allocations: 4 kB / 1.196 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005334/1.561, allocations: 1.293 MB / 1.197 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.572, allocations: 2.766 MB / 1.2 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.572, allocations: 0 / 1.2 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.573, allocations: 109 kB / 1.2 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/1.577, allocations: 371 kB / 1.2 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/1.577, allocations: 14.25 kB / 1.2 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/1.582, allocations: 2.026 MB / 1.202 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/1.582, allocations: 11.91 kB / 1.202 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006311/1.588, allocations: 1.21 MB / 1.203 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.589, allocations: 355.9 kB / 1.204 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/1.59, allocations: 20.03 kB / 1.204 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.592, allocations: 123.4 kB / 1.204 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/1.592, allocations: 50.94 kB / 1.204 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.592, allocations: 30.92 kB / 1.204 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001953/1.594, allocations: 0.8739 MB / 1.205 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.72e-07/1.594, allocations: 0 / 1.205 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00428/1.598, allocations: 0.9085 MB / 1.206 GB, free: 2.297 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (49): * Single equations (assignments): 44 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/1.6, allocations: 376.1 kB / 1.206 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005618/1.605, allocations: 1.659 MB / 1.208 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.605, allocations: 3.938 kB / 1.208 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001953/1.607, allocations: 474.9 kB / 1.208 GB, free: 308 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01062/1.618, allocations: 0.7989 MB / 1.209 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.63, allocations: 3.251 MB / 1.212 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/1.631, allocations: 1.353 MB / 1.213 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002393/1.634, allocations: 318.9 kB / 1.214 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/1.634, allocations: 95.42 kB / 1.214 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/1.634, allocations: 0 / 1.214 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.1142/1.749, allocations: 30.26 MB / 1.243 GB, free: 12.92 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)