Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001105/0.001105, allocations: 188 kB / 16.25 MB, free: 6.629 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.541/1.541, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.546/1.546, allocations: 251.7 MB / 0.5089 GB, free: 3.32 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.002226/0.002227, allocations: 67.91 kB / 0.6217 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.6633, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.7836/1.447, allocations: 251.2 MB / 0.9693 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02526/1.472, allocations: 17.93 MB / 0.9868 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005045/1.477, allocations: 69.66 kB / 0.9868 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003697/1.481, allocations: 0.9505 MB / 0.9878 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01155/1.493, allocations: 3.592 MB / 0.9913 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/1.498, allocations: 1.68 MB / 0.9929 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01049/1.508, allocations: 5.122 MB / 0.9979 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00335/1.512, allocations: 1.837 MB / 0.9997 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006867/1.519, allocations: 2.197 MB / 1.002 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004628/1.523, allocations: 1.611 MB / 1.003 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005195/1.524, allocations: 184.1 kB / 1.004 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007512/1.531, allocations: 2.622 MB / 1.006 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001213/1.533, allocations: 0.6046 MB / 1.007 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002578/1.535, allocations: 1.117 MB / 1.008 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008754/1.544, allocations: 3.808 MB / 1.012 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.544, allocations: 1.188 kB / 1.012 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/1.544, allocations: 0 / 1.012 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.278e-05/1.544, allocations: 0 / 1.012 GB, free: 11.78 MB / 0.7325 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.005601/1.55, allocations: 2.48 MB / 1.014 GB, free: 10 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.55, allocations: 8.938 kB / 1.014 GB, free: 10 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/1.552, allocations: 370 kB / 1.014 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/1.554, allocations: 1.427 MB / 1.016 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/1.554, allocations: 111.1 kB / 1.016 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/1.554, allocations: 137.2 kB / 1.016 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/1.557, allocations: 1.511 MB / 1.017 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/1.557, allocations: 4.844 kB / 1.017 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/1.557, allocations: 59.28 kB / 1.018 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/1.557, allocations: 48.38 kB / 1.018 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/1.559, allocations: 1.147 MB / 1.019 GB, free: 7.156 MB / 0.7325 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.009462/1.568, allocations: 7.181 MB / 1.026 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/1.57, allocations: 0.8189 MB / 1.027 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00071/1.571, allocations: 434.5 kB / 1.027 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009949/1.572, allocations: 0.7144 MB / 1.028 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/1.572, allocations: 47.22 kB / 1.028 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 2.254e-06/1.572, allocations: 2.531 kB / 1.028 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.006868/1.578, allocations: 2.065 MB / 1.03 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.579, allocations: 67.94 kB / 1.03 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/1.58, allocations: 1.309 MB / 1.031 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/1.581, allocations: 44.59 kB / 1.031 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005804/1.581, allocations: 0.8029 MB / 1.032 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/1.581, allocations: 259.7 kB / 1.032 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/1.582, allocations: 176.4 kB / 1.032 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001167/1.582, allocations: 338 kB / 1.033 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005503/1.582, allocations: 336.7 kB / 1.033 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007541/1.583, allocations: 0.5577 MB / 1.033 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/1.584, allocations: 0.8615 MB / 1.034 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.584, allocations: 7.938 kB / 1.034 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002381/1.587, allocations: 1.253 MB / 1.036 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/1.587, allocations: 8.406 kB / 1.036 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.587, allocations: 11.98 kB / 1.036 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/1.589, allocations: 402.1 kB / 1.036 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/1.589, allocations: 150 kB / 1.036 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/1.591, allocations: 2.066 MB / 1.038 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/1.592, allocations: 175.1 kB / 1.038 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.561e-05/1.593, allocations: 43.98 kB / 1.038 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001172/1.594, allocations: 0.6307 MB / 1.039 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007476/1.594, allocations: 0.5594 MB / 1.039 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001209/1.596, allocations: 0.8498 MB / 1.04 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/1.596, allocations: 4 kB / 1.04 GB, free: 1.449 MB / 0.7481 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002029/1.598, allocations: 1.204 MB / 1.041 GB, free: 260 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.598, allocations: 10.34 kB / 1.041 GB, free: 252 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.598, allocations: 4 kB / 1.041 GB, free: 248 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/1.599, allocations: 365.4 kB / 1.042 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/1.6, allocations: 151.8 kB / 1.042 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/1.603, allocations: 4.198 MB / 1.046 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.605, allocations: 163.4 kB / 1.046 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/1.605, allocations: 34.66 kB / 1.046 GB, free: 11.08 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003653/1.605, allocations: 232.1 kB / 1.046 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/1.606, allocations: 154.1 kB / 1.047 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/1.608, allocations: 1.189 MB / 1.048 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.608, allocations: 11.94 kB / 1.048 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/1.608, allocations: 0 / 1.048 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002211/1.611, allocations: 1.281 MB / 1.049 GB, free: 8.121 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/1.615, allocations: 2.756 MB / 1.052 GB, free: 5.309 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.615, allocations: 0 / 1.052 GB, free: 5.309 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/1.616, allocations: 101.2 kB / 1.052 GB, free: 5.215 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/1.617, allocations: 355 kB / 1.052 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/1.617, allocations: 19.98 kB / 1.052 GB, free: 4.844 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/1.619, allocations: 2.025 MB / 1.054 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.619, allocations: 4.172 kB / 1.054 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/1.621, allocations: 1.206 MB / 1.055 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007458/1.621, allocations: 335 kB / 1.056 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.621, allocations: 12 kB / 1.056 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.623, allocations: 118.9 kB / 1.056 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.623, allocations: 55.06 kB / 1.056 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/1.623, allocations: 28.08 kB / 1.056 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001172/1.624, allocations: 0.8936 MB / 1.057 GB, free: 52 kB / 0.7637 GB Notification: Performance of sort global known variables: time 2.31e-07/1.624, allocations: 0 / 1.057 GB, free: 52 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002508/1.626, allocations: 0.9154 MB / 1.058 GB, free: 15.13 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008582/1.627, allocations: 379 kB / 1.058 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003431/1.631, allocations: 1.713 MB / 1.06 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.631, allocations: 4 kB / 1.06 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009136/1.632, allocations: 463.2 kB / 1.06 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/1.635, allocations: 0.7995 MB / 1.061 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/1.64, allocations: 3.335 MB / 1.064 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008249/1.64, allocations: 1.348 MB / 1.065 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001346/1.642, allocations: 326.8 kB / 1.066 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/1.642, allocations: 91.44 kB / 1.066 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of SimCode: time 7.22e-07/1.642, allocations: 4 kB / 1.066 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of Templates: time 0.05443/1.696, allocations: 32.31 MB / 1.097 GB, free: 6.938 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)