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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 251.5 MB / 267.4 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009868/0.0009869, allocations: 172.1 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205 MB / 0.5766 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007577/0.0007578, allocations: 90.95 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 13.2 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1602, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.615/0.7752, allocations: 251.4 MB / 1.142 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02042/0.7956, allocations: 18.12 MB / 1.16 GB, free: 0 / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.7983, allocations: 72.16 kB / 1.16 GB, free: 0 / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.801, allocations: 0.9201 MB / 1.161 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009595/0.8106, allocations: 3.588 MB / 1.164 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.8156, allocations: 1.654 MB / 1.166 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.009165/0.8248, allocations: 6.847 MB / 1.173 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.8273, allocations: 1.494 MB / 1.174 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004365/0.8317, allocations: 1.881 MB / 1.176 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.8347, allocations: 1.491 MB / 1.178 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.8351, allocations: 71.66 kB / 1.178 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00541/0.8405, allocations: 2.705 MB / 1.18 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.8411, allocations: 482.6 kB / 1.181 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.8426, allocations: 0.9744 MB / 1.182 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006331/0.849, allocations: 3.631 MB / 1.185 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.849, allocations: 2.531 kB / 1.185 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/0.849, allocations: 0 / 1.185 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.757e-05/0.8491, allocations: 0 / 1.185 GB, free: 5.535 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.003822/0.8529, allocations: 2.117 MB / 1.187 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.853, allocations: 9.844 kB / 1.187 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.8546, allocations: 380.8 kB / 1.188 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.8568, allocations: 1.415 MB / 1.189 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/0.8568, allocations: 104.9 kB / 1.189 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.857, allocations: 146.4 kB / 1.189 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.8594, allocations: 1.518 MB / 1.191 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.8594, allocations: 0 / 1.191 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.8595, allocations: 56 kB / 1.191 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.126e-05/0.8596, allocations: 66.58 kB / 1.191 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.8616, allocations: 1.166 MB / 1.192 GB, free: 104 kB / 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.007723/0.8693, allocations: 7.192 MB / 1.199 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.8706, allocations: 0.8292 MB / 1.2 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.8713, allocations: 450.5 kB / 1.2 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000841/0.8722, allocations: 0.7277 MB / 1.201 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.8722, allocations: 47.16 kB / 1.201 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 3.637e-06/0.8722, allocations: 4 kB / 1.201 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.006699/0.8789, allocations: 2.14 MB / 1.203 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.879, allocations: 64.05 kB / 1.203 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.8808, allocations: 1.306 MB / 1.204 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.8809, allocations: 41.7 kB / 1.204 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.8816, allocations: 0.7975 MB / 1.205 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.8819, allocations: 258.8 kB / 1.206 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.575e-05/0.882, allocations: 77.67 kB / 1.206 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8821, allocations: 342 kB / 1.206 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.8827, allocations: 333.8 kB / 1.206 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008404/0.8836, allocations: 0.5747 MB / 1.207 GB, free: 56 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.885, allocations: 0.8869 MB / 1.208 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.885, allocations: 0 / 1.208 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002656/0.8876, allocations: 1.29 MB / 1.209 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.8878, allocations: 240.7 kB / 1.209 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.8878, allocations: 4 kB / 1.209 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.8898, allocations: 419 kB / 1.21 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.8904, allocations: 155.8 kB / 1.21 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.8921, allocations: 2.061 MB / 1.212 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.8935, allocations: 191 kB / 1.212 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.8936, allocations: 36 kB / 1.212 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.8936, allocations: 6.656 kB / 1.212 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001913/0.8955, allocations: 1.064 MB / 1.213 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8955, allocations: 4 kB / 1.213 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.897, allocations: 373.8 kB / 1.213 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.8976, allocations: 155.8 kB / 1.213 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/0.9009, allocations: 3.861 MB / 1.217 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.9023, allocations: 179.1 kB / 1.217 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.9024, allocations: 32 kB / 1.217 GB, free: 4.605 MB / 0.7448 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.0008092/0.9032, allocations: 479 kB / 1.218 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.9035, allocations: 154.1 kB / 1.218 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.9062, allocations: 1.215 MB / 1.219 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002396/0.9086, allocations: 1.297 MB / 1.221 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.9086, allocations: 0 / 1.221 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/0.9093, allocations: 338.8 kB / 1.221 GB, free: 1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.9095, allocations: 12 kB / 1.221 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/0.9105, allocations: 120.8 kB / 1.221 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.9106, allocations: 56.56 kB / 1.221 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002631/0.9133, allocations: 1.194 MB / 1.222 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002232/0.9155, allocations: 1.465 MB / 1.224 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005756/0.9161, allocations: 353 kB / 1.224 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001198/0.9173, allocations: 0.8897 MB / 1.225 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of Backend: time 4.21e-07/0.9173, allocations: 0 / 1.225 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004815/0.9221, allocations: 2.057 MB / 1.227 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of SimCode: time 0.006771/0.9289, allocations: 4.442 MB / 1.231 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of Templates: time 0.05749/0.9865, allocations: 36.26 MB / 1.267 GB, free: 2.441 MB / 0.7917 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)