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.444/1.444, allocations: 252 MB / 268 MB, free: 10.86 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.001007/0.001007, allocations: 179.1 kB / 327.6 MB, free: 2.102 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.81/1.81, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0008458/0.0008455, allocations: 87.23 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004677, allocations: 9 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2339, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.738/0.9719, allocations: 248.4 MB / 1.144 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02582/0.9978, allocations: 17.93 MB / 1.162 GB, free: 144 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004202/1.002, allocations: 68.47 kB / 1.162 GB, free: 144 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003836/1.006, allocations: 0.9079 MB / 1.163 GB, free: 124 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01251/1.018, allocations: 3.589 MB / 1.166 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006058/1.025, allocations: 1.646 MB / 1.168 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01174/1.036, allocations: 6.85 MB / 1.174 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004581/1.041, allocations: 1.512 MB / 1.176 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006536/1.048, allocations: 1.88 MB / 1.178 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004397/1.052, allocations: 1.493 MB / 1.179 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007183/1.053, allocations: 70.03 kB / 1.179 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007463/1.06, allocations: 2.707 MB / 1.182 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/1.062, allocations: 485.7 kB / 1.182 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003094/1.065, allocations: 0.9926 MB / 1.183 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00607/1.071, allocations: 2.72 MB / 1.186 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/1.071, allocations: 0 / 1.186 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.286e-06/1.071, allocations: 3.344 kB / 1.186 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000145/1.071, allocations: 3.938 kB / 1.186 GB, free: 6.219 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.006388/1.077, allocations: 2.115 MB / 1.188 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.077, allocations: 9.844 kB / 1.188 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/1.08, allocations: 369.6 kB / 1.188 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/1.084, allocations: 1.418 MB / 1.19 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/1.084, allocations: 111.2 kB / 1.19 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/1.084, allocations: 140.9 kB / 1.19 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003984/1.088, allocations: 1.518 MB / 1.191 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/1.088, allocations: 0 / 1.191 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/1.088, allocations: 56 kB / 1.191 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-05/1.089, allocations: 62.66 kB / 1.192 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/1.091, allocations: 1.166 MB / 1.193 GB, free: 0.9297 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.0113/1.103, allocations: 7.195 MB / 1.2 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.104, allocations: 0.8255 MB / 1.201 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/1.105, allocations: 453.5 kB / 1.201 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.106, allocations: 0.7274 MB / 1.202 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/1.106, allocations: 51.16 kB / 1.202 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 3.717e-06/1.106, allocations: 0 / 1.202 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.006974/1.113, allocations: 2.152 MB / 1.204 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/1.113, allocations: 60.06 kB / 1.204 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/1.116, allocations: 1.306 MB / 1.205 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/1.116, allocations: 41.7 kB / 1.205 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/1.117, allocations: 0.8087 MB / 1.206 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/1.117, allocations: 254.9 kB / 1.206 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/1.117, allocations: 20 kB / 1.206 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.117, allocations: 341.9 kB / 1.207 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/1.118, allocations: 333.8 kB / 1.207 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008702/1.119, allocations: 0.5708 MB / 1.207 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/1.12, allocations: 0.8908 MB / 1.208 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.12, allocations: 4 kB / 1.208 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002945/1.123, allocations: 1.275 MB / 1.21 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001949/1.124, allocations: 236.7 kB / 1.21 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/1.124, allocations: 8 kB / 1.21 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/1.126, allocations: 425.4 kB / 1.21 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/1.126, allocations: 155.8 kB / 1.21 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/1.128, allocations: 2.055 MB / 1.212 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/1.13, allocations: 185 kB / 1.213 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/1.13, allocations: 47.92 kB / 1.213 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.13, allocations: 4 kB / 1.213 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00215/1.132, allocations: 1.06 MB / 1.214 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.132, allocations: 4 kB / 1.214 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/1.134, allocations: 377.7 kB / 1.214 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/1.135, allocations: 163.7 kB / 1.214 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/1.139, allocations: 3.858 MB / 1.218 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.14, allocations: 171.2 kB / 1.218 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.141, allocations: 46.58 kB / 1.218 GB, free: 5.473 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.001011/1.142, allocations: 466.2 kB / 1.219 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/1.142, allocations: 154.1 kB / 1.219 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/1.145, allocations: 1.216 MB / 1.22 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/1.145, allocations: 11.98 kB / 1.22 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.145, allocations: 7.875 kB / 1.22 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002444/1.148, allocations: 1.297 MB / 1.221 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/1.153, allocations: 2.768 MB / 1.224 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.153, allocations: 4 kB / 1.224 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/1.154, allocations: 107.8 kB / 1.224 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/1.155, allocations: 373.4 kB / 1.224 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/1.156, allocations: 16 kB / 1.224 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/1.157, allocations: 2.04 MB / 1.226 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.157, allocations: 0 / 1.226 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/1.16, allocations: 1.218 MB / 1.228 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.161, allocations: 350.8 kB / 1.228 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004112/1.161, allocations: 20 kB / 1.228 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.163, allocations: 126.5 kB / 1.228 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.163, allocations: 44.48 kB / 1.228 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-05/1.163, allocations: 35.92 kB / 1.228 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001691/1.165, allocations: 0.8896 MB / 1.229 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.81e-07/1.165, allocations: 0 / 1.229 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00354/1.168, allocations: 0.9155 MB / 1.23 GB, free: 9.094 MB / 0.7605 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.00101/1.169, allocations: 368.4 kB / 1.23 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003833/1.173, allocations: 1.676 MB / 1.232 GB, free: 7.051 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.173, allocations: 4 kB / 1.232 GB, free: 7.047 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/1.174, allocations: 474.7 kB / 1.232 GB, free: 6.586 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00528/1.179, allocations: 0.7905 MB / 1.233 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/1.186, allocations: 3.437 MB / 1.236 GB, free: 2.305 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.187, allocations: 1.34 MB / 1.238 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/1.188, allocations: 103.4 kB / 1.238 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of SimCode: time 1.413e-06/1.188, allocations: 0 / 1.238 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of Templates: time 0.06564/1.253, allocations: 47.64 MB / 1.284 GB, free: 1.297 MB / 0.8073 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)