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.397/1.397, allocations: 252 MB / 267.6 MB, free: 10.99 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.001118/0.001118, allocations: 174.3 kB / 327.3 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.295/2.295, allocations: 205.4 MB / 0.5783 GB, free: 20.52 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.000904/0.0009039, allocations: 80 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 9.062 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2279, allocations: 106.4 MB / 0.9008 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8092/1.037, allocations: 232.2 MB / 1.128 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02158/1.059, allocations: 16.88 MB / 1.144 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003703/1.063, allocations: 68.38 kB / 1.144 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003019/1.066, allocations: 0.7258 MB / 1.145 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/1.077, allocations: 2.825 MB / 1.148 GB, free: 2.793 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00598/1.083, allocations: 1.358 MB / 1.149 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01187/1.095, allocations: 5.846 MB / 1.155 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/1.099, allocations: 1.316 MB / 1.156 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005408/1.104, allocations: 1.78 MB / 1.158 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/1.108, allocations: 1.407 MB / 1.159 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006889/1.108, allocations: 66.5 kB / 1.159 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005421/1.114, allocations: 1.543 MB / 1.161 GB, free: 1.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/1.115, allocations: 474.5 kB / 1.161 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/1.116, allocations: 435.2 kB / 1.161 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006623/1.123, allocations: 2.732 MB / 1.164 GB, free: 0 / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.123, allocations: 1.875 kB / 1.164 GB, free: 0 / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/1.123, allocations: 64 / 1.164 GB, free: 0 / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001487/1.123, allocations: 4.047 kB / 1.164 GB, free: 15.99 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.006236/1.13, allocations: 2.128 MB / 1.166 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.13, allocations: 12.03 kB / 1.166 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/1.132, allocations: 370.5 kB / 1.167 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/1.136, allocations: 1.364 MB / 1.168 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/1.136, allocations: 105.4 kB / 1.168 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000381/1.136, allocations: 138.2 kB / 1.168 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/1.139, allocations: 1.514 MB / 1.17 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/1.139, allocations: 0 / 1.17 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.139, allocations: 60.56 kB / 1.17 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/1.139, allocations: 54.44 kB / 1.17 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/1.141, allocations: 1.151 MB / 1.171 GB, free: 13.17 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.009355/1.151, allocations: 7.195 MB / 1.178 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/1.152, allocations: 0.8146 MB / 1.179 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006806/1.153, allocations: 449.4 kB / 1.179 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009531/1.154, allocations: 0.7347 MB / 1.18 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/1.154, allocations: 47.86 kB / 1.18 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=74): time 2.706e-06/1.154, allocations: 4 kB / 1.18 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74): time 0.006444/1.16, allocations: 2.118 MB / 1.182 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.16, allocations: 60.47 kB / 1.182 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/1.162, allocations: 1.3 MB / 1.183 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/1.162, allocations: 41.36 kB / 1.183 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/1.163, allocations: 0.8045 MB / 1.184 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/1.163, allocations: 248.7 kB / 1.184 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/1.163, allocations: 16.62 kB / 1.184 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.163, allocations: 345.4 kB / 1.185 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/1.164, allocations: 330.4 kB / 1.185 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007386/1.165, allocations: 0.5633 MB / 1.186 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/1.165, allocations: 415.5 kB / 1.186 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.165, allocations: 2.625 kB / 1.186 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002423/1.168, allocations: 1.269 MB / 1.187 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/1.168, allocations: 234.9 kB / 1.187 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.168, allocations: 4 kB / 1.187 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/1.17, allocations: 417 kB / 1.188 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/1.17, allocations: 168.2 kB / 1.188 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/1.172, allocations: 2.055 MB / 1.19 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.174, allocations: 184.1 kB / 1.19 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.559e-05/1.174, allocations: 40.92 kB / 1.19 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.208e-06/1.174, allocations: 4 kB / 1.19 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001928/1.176, allocations: 1.05 MB / 1.191 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.176, allocations: 8.062 kB / 1.191 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/1.177, allocations: 367.1 kB / 1.192 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/1.178, allocations: 160.9 kB / 1.192 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/1.182, allocations: 3.855 MB / 1.196 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/1.183, allocations: 177.4 kB / 1.196 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/1.183, allocations: 35.88 kB / 1.196 GB, free: 12 MB / 0.7292 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 (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.001077/1.184, allocations: 471.3 kB / 1.196 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/1.185, allocations: 160 kB / 1.196 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/1.188, allocations: 1.205 MB / 1.198 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/1.188, allocations: 8 kB / 1.198 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.188, allocations: 0 / 1.198 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002351/1.19, allocations: 1.304 MB / 1.199 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005457/1.195, allocations: 2.76 MB / 1.201 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.196, allocations: 4 kB / 1.201 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/1.196, allocations: 115.5 kB / 1.202 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/1.197, allocations: 364.1 kB / 1.202 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/1.198, allocations: 20.91 kB / 1.202 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/1.199, allocations: 2.026 MB / 1.204 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.199, allocations: 7.938 kB / 1.204 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/1.201, allocations: 1.214 MB / 1.205 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008074/1.202, allocations: 342.1 kB / 1.205 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/1.203, allocations: 21.27 kB / 1.205 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.204, allocations: 126.9 kB / 1.206 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/1.204, allocations: 51.11 kB / 1.206 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-05/1.204, allocations: 34.61 kB / 1.206 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001454/1.206, allocations: 0.8698 MB / 1.207 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/1.206, allocations: 0 / 1.207 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003353/1.209, allocations: 0.9008 MB / 1.207 GB, free: 2.18 MB / 0.7292 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 (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 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009514/1.21, allocations: 383.2 kB / 1.208 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003625/1.214, allocations: 1.659 MB / 1.209 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/1.214, allocations: 0 / 1.209 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009915/1.215, allocations: 473 kB / 1.21 GB, free: 184 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/1.219, allocations: 0.8022 MB / 1.211 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/1.225, allocations: 3.309 MB / 1.214 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.226, allocations: 1.342 MB / 1.215 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/1.226, allocations: 103.4 kB / 1.215 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/1.226, allocations: 10.17 kB / 1.215 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.06156/1.288, allocations: 47.66 MB / 1.262 GB, free: 11.39 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)