Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 288.3 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 181 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000915/0.000915, allocations: 98.77 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 13.31 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2085, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.6751/0.8837, allocations: 209.9 MB / 1.184 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02246/0.9062, allocations: 15.76 MB / 1.2 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003241/0.9095, allocations: 64.12 kB / 1.2 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.9133, allocations: 0.9975 MB / 1.201 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01168/0.925, allocations: 3.213 MB / 1.204 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00621/0.9313, allocations: 1.817 MB / 1.206 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007231/0.9385, allocations: 3.016 MB / 1.209 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002545/0.9411, allocations: 1.318 MB / 1.21 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004391/0.9455, allocations: 1.562 MB / 1.211 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.9479, allocations: 0.9692 MB / 1.212 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004774/0.9483, allocations: 67.03 kB / 1.213 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.9528, allocations: 1.298 MB / 1.214 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006339/0.9535, allocations: 436.8 kB / 1.214 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0008717/0.9543, allocations: 433.1 kB / 1.215 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.9578, allocations: 2.44 MB / 1.217 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9579, allocations: 4 kB / 1.217 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9579, allocations: 4 kB / 1.217 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.605e-05/0.9579, allocations: 0 / 1.217 GB, free: 5.062 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.00414/0.9621, allocations: 2.075 MB / 1.219 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.9621, allocations: 8.031 kB / 1.219 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.9638, allocations: 385 kB / 1.219 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/0.9662, allocations: 1.317 MB / 1.221 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-05/0.9663, allocations: 110.7 kB / 1.221 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.9665, allocations: 139.9 kB / 1.221 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002612/0.9691, allocations: 1.499 MB / 1.222 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.9692, allocations: 0 / 1.222 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.9693, allocations: 56 kB / 1.222 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/0.9693, allocations: 50.64 kB / 1.222 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.9715, allocations: 1.158 MB / 1.224 GB, free: 14.09 MB / 0.7605 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.008852/0.9804, allocations: 7.298 MB / 1.231 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.9819, allocations: 0.8657 MB / 1.232 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006953/0.9826, allocations: 0.55 MB / 1.232 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.9827, allocations: 51.2 kB / 1.232 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=74): time 2.795e-06/0.9827, allocations: 0 / 1.232 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=74): time 0.007227/0.9899, allocations: 2.194 MB / 1.234 GB, free: 2.324 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.99, allocations: 60.06 kB / 1.234 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.9919, allocations: 1.321 MB / 1.236 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.9921, allocations: 41.7 kB / 1.236 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006084/0.9927, allocations: 0.7899 MB / 1.236 GB, free: 76 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.993, allocations: 268.3 kB / 1.237 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.993, allocations: 16 kB / 1.237 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9932, allocations: 338 kB / 1.237 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/0.9938, allocations: 329.8 kB / 1.237 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/0.9946, allocations: 0.5755 MB / 1.238 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007187/0.9953, allocations: 414.8 kB / 1.238 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.9953, allocations: 4 kB / 1.238 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002642/0.998, allocations: 1.271 MB / 1.24 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000782/0.9988, allocations: 1.974 MB / 1.242 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.9988, allocations: 4 kB / 1.242 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/1.001, allocations: 421.9 kB / 1.242 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/1.001, allocations: 159.8 kB / 1.242 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/1.003, allocations: 2.049 MB / 1.244 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/1.004, allocations: 194.1 kB / 1.244 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/1.004, allocations: 43.98 kB / 1.244 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/1.004, allocations: 7.984 kB / 1.244 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001894/1.006, allocations: 1.06 MB / 1.245 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.006, allocations: 8 kB / 1.245 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/1.008, allocations: 366.5 kB / 1.246 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/1.009, allocations: 163.8 kB / 1.246 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/1.012, allocations: 3.874 MB / 1.25 GB, free: 1.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.013, allocations: 175.1 kB / 1.25 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/1.013, allocations: 40 kB / 1.25 GB, free: 1.672 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0008064/1.014, allocations: 468.8 kB / 1.25 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/1.014, allocations: 158.1 kB / 1.25 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/1.017, allocations: 1.229 MB / 1.252 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.017, allocations: 15.88 kB / 1.252 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.017, allocations: 0 / 1.252 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002514/1.02, allocations: 1.322 MB / 1.253 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005074/1.025, allocations: 2.728 MB / 1.256 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.025, allocations: 4 kB / 1.256 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/1.026, allocations: 104.2 kB / 1.256 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/1.027, allocations: 373.5 kB / 1.256 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/1.027, allocations: 27.92 kB / 1.256 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/1.029, allocations: 2.047 MB / 1.258 GB, free: 8.902 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.029, allocations: 4 kB / 1.258 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/1.031, allocations: 1.398 MB / 1.259 GB, free: 7.363 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009255/1.032, allocations: 342.9 kB / 1.26 GB, free: 7.008 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/1.032, allocations: 20 kB / 1.26 GB, free: 6.988 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.034, allocations: 115.8 kB / 1.26 GB, free: 6.875 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.034, allocations: 60.67 kB / 1.26 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.632e-05/1.034, allocations: 27.98 kB / 1.26 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001507/1.035, allocations: 0.8934 MB / 1.261 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.8e-07/1.035, allocations: 0 / 1.261 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003193/1.039, allocations: 0.9055 MB / 1.262 GB, free: 4.992 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 43 * 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 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009308/1.04, allocations: 374.5 kB / 1.262 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003798/1.043, allocations: 1.677 MB / 1.264 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/1.043, allocations: 0 / 1.264 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/1.044, allocations: 482.5 kB / 1.264 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/1.049, allocations: 0.7816 MB / 1.265 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006064/1.055, allocations: 3.259 MB / 1.268 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/1.056, allocations: 1.375 MB / 1.27 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001678/1.058, allocations: 322.7 kB / 1.27 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/1.058, allocations: 99.42 kB / 1.27 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of SimCode: time 1.122e-06/1.058, allocations: 0 / 1.27 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of Templates: time 0.05478/1.113, allocations: 30.57 MB / 1.3 GB, free: 14.28 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)