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.346/1.346, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001033/0.001033, allocations: 179.7 kB / 326.5 MB, free: 2.684 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.985/1.985, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008514/0.0008511, allocations: 98.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 11.09 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2212, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8012/1.022, allocations: 251.4 MB / 1.142 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0249/1.047, allocations: 18.12 MB / 1.16 GB, free: 0 / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004063/1.051, allocations: 73.97 kB / 1.16 GB, free: 0 / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003754/1.055, allocations: 0.9209 MB / 1.161 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01221/1.067, allocations: 3.578 MB / 1.164 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005792/1.073, allocations: 1.668 MB / 1.166 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01004/1.083, allocations: 6.843 MB / 1.173 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/1.087, allocations: 1.498 MB / 1.174 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006022/1.093, allocations: 1.885 MB / 1.176 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004679/1.098, allocations: 1.48 MB / 1.178 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008585/1.099, allocations: 69.12 kB / 1.178 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007949/1.107, allocations: 2.708 MB / 1.18 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/1.108, allocations: 490.5 kB / 1.181 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003113/1.111, allocations: 0.9679 MB / 1.182 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006618/1.118, allocations: 2.722 MB / 1.184 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.118, allocations: 0 / 1.184 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.655e-06/1.118, allocations: 2.5 kB / 1.184 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001957/1.118, allocations: 0 / 1.184 GB, free: 6.055 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.006324/1.124, allocations: 2.116 MB / 1.186 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.124, allocations: 11.31 kB / 1.186 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/1.127, allocations: 369.8 kB / 1.187 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/1.13, allocations: 1.416 MB / 1.188 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/1.131, allocations: 110.6 kB / 1.188 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003659/1.131, allocations: 138.6 kB / 1.188 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/1.134, allocations: 1.52 MB / 1.19 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/1.134, allocations: 3.312 kB / 1.19 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/1.134, allocations: 59.97 kB / 1.19 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/1.134, allocations: 58.64 kB / 1.19 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/1.136, allocations: 1.162 MB / 1.191 GB, free: 0.9688 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.009043/1.145, allocations: 7.207 MB / 1.198 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/1.147, allocations: 0.8317 MB / 1.199 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007516/1.148, allocations: 450.5 kB / 1.199 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00096/1.149, allocations: 0.727 MB / 1.2 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/1.149, allocations: 47.16 kB / 1.2 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/1.149, allocations: 0 / 1.2 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74): time 0.006927/1.156, allocations: 2.145 MB / 1.202 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/1.156, allocations: 60.06 kB / 1.202 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/1.158, allocations: 1.309 MB / 1.204 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.158, allocations: 41.7 kB / 1.204 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006888/1.159, allocations: 0.7984 MB / 1.204 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/1.159, allocations: 258.9 kB / 1.205 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/1.159, allocations: 73.69 kB / 1.205 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.159, allocations: 341.9 kB / 1.205 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/1.16, allocations: 329.8 kB / 1.205 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/1.161, allocations: 0.5786 MB / 1.206 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/1.162, allocations: 0.8907 MB / 1.207 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.162, allocations: 0 / 1.207 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002743/1.165, allocations: 1.282 MB / 1.208 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/1.165, allocations: 243.3 kB / 1.208 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.165, allocations: 4 kB / 1.208 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/1.167, allocations: 419 kB / 1.209 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/1.168, allocations: 155.8 kB / 1.209 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/1.169, allocations: 2.053 MB / 1.211 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/1.171, allocations: 190.9 kB / 1.211 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/1.171, allocations: 36 kB / 1.211 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1.171, allocations: 4 kB / 1.211 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001902/1.173, allocations: 1.064 MB / 1.212 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.173, allocations: 4 kB / 1.212 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/1.175, allocations: 377.7 kB / 1.212 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/1.175, allocations: 151.8 kB / 1.213 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/1.179, allocations: 3.865 MB / 1.216 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/1.18, allocations: 175.3 kB / 1.217 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.564e-05/1.18, allocations: 39.98 kB / 1.217 GB, free: 5.465 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.000914/1.181, allocations: 478 kB / 1.217 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005234/1.182, allocations: 158.1 kB / 1.217 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/1.185, allocations: 1.208 MB / 1.218 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/1.185, allocations: 8 kB / 1.218 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.185, allocations: 4 kB / 1.218 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002467/1.187, allocations: 1.296 MB / 1.22 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/1.193, allocations: 2.786 MB / 1.222 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.193, allocations: 4 kB / 1.222 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/1.194, allocations: 99.89 kB / 1.222 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/1.195, allocations: 361.5 kB / 1.223 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/1.195, allocations: 19.94 kB / 1.223 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/1.197, allocations: 2.032 MB / 1.225 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.197, allocations: 4.188 kB / 1.225 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/1.199, allocations: 1.221 MB / 1.226 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/1.2, allocations: 335 kB / 1.226 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/1.2, allocations: 27.94 kB / 1.226 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.202, allocations: 130.2 kB / 1.226 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.202, allocations: 48.44 kB / 1.226 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.913e-05/1.202, allocations: 31.98 kB / 1.227 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001444/1.203, allocations: 0.8858 MB / 1.227 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/1.203, allocations: 3.938 kB / 1.227 GB, free: 10 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003259/1.207, allocations: 0.9116 MB / 1.228 GB, free: 9.09 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.0009261/1.208, allocations: 366.3 kB / 1.229 GB, free: 8.742 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003557/1.211, allocations: 1.672 MB / 1.23 GB, free: 7.047 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.211, allocations: 8.125 kB / 1.23 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/1.212, allocations: 470.3 kB / 1.231 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004799/1.217, allocations: 0.786 MB / 1.231 GB, free: 5.805 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/1.223, allocations: 3.41 MB / 1.235 GB, free: 2.336 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/1.224, allocations: 1.34 MB / 1.236 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/1.225, allocations: 99.42 kB / 1.236 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of SimCode: time 1.082e-06/1.225, allocations: 0 / 1.236 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of Templates: time 0.06759/1.292, allocations: 47.64 MB / 1.283 GB, free: 1.332 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)