Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.646/2.646, allocations: 287.3 MB / 302.3 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.001546/0.001546, allocations: 189.6 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001224/0.001224, allocations: 97.16 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.0005011, allocations: 16.97 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2132, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 1.05/1.263, allocations: 209.9 MB / 1.183 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03475/1.298, allocations: 15.76 MB / 1.199 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/1.301, allocations: 64.06 kB / 1.199 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005228/1.306, allocations: 0.9974 MB / 1.2 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01465/1.321, allocations: 3.216 MB / 1.203 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01115/1.332, allocations: 1.825 MB / 1.205 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01212/1.344, allocations: 3.017 MB / 1.207 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004893/1.349, allocations: 1.314 MB / 1.209 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008046/1.357, allocations: 1.558 MB / 1.21 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004157/1.362, allocations: 0.9794 MB / 1.211 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0008422/1.363, allocations: 66.94 kB / 1.211 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008469/1.371, allocations: 1.299 MB / 1.213 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001566/1.373, allocations: 436.8 kB / 1.213 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/1.374, allocations: 433.2 kB / 1.213 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008364/1.383, allocations: 2.438 MB / 1.216 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.383, allocations: 0 / 1.216 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.211e-06/1.383, allocations: 0 / 1.216 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001111/1.383, allocations: 3.938 kB / 1.216 GB, free: 6.156 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.009822/1.393, allocations: 2.07 MB / 1.218 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/1.393, allocations: 8.031 kB / 1.218 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004696/1.398, allocations: 385.9 kB / 1.218 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006217/1.404, allocations: 1.321 MB / 1.219 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/1.404, allocations: 102.7 kB / 1.22 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005416/1.405, allocations: 143.9 kB / 1.22 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007064/1.412, allocations: 1.491 MB / 1.221 GB, free: 480 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.261e-05/1.412, allocations: 0 / 1.221 GB, free: 480 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/1.412, allocations: 60 kB / 1.221 GB, free: 420 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/1.413, allocations: 62.52 kB / 1.221 GB, free: 356 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005607/1.418, allocations: 1.146 MB / 1.222 GB, free: 15.2 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.01475/1.433, allocations: 7.297 MB / 1.23 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/1.436, allocations: 0.8633 MB / 1.23 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/1.437, allocations: 0.5578 MB / 1.231 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/1.437, allocations: 43.22 kB / 1.231 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=74): time 3.948e-06/1.437, allocations: 0 / 1.231 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of matching and sorting (n=74): time 0.01307/1.45, allocations: 2.197 MB / 1.233 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/1.45, allocations: 68 kB / 1.233 GB, free: 3.344 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/1.453, allocations: 1.313 MB / 1.234 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/1.453, allocations: 41.7 kB / 1.234 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.455, allocations: 0.7899 MB / 1.235 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005068/1.455, allocations: 268.2 kB / 1.235 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/1.455, allocations: 12 kB / 1.236 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.455, allocations: 345.9 kB / 1.236 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/1.457, allocations: 325.8 kB / 1.236 GB, free: 240 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/1.458, allocations: 0.5677 MB / 1.237 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/1.46, allocations: 418.8 kB / 1.237 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.46, allocations: 4 kB / 1.237 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005151/1.465, allocations: 1.275 MB / 1.238 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009569/1.466, allocations: 1.966 MB / 1.24 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/1.466, allocations: 4 kB / 1.24 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003711/1.47, allocations: 428.2 kB / 1.241 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.471, allocations: 159.7 kB / 1.241 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/1.474, allocations: 2.052 MB / 1.243 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/1.476, allocations: 189.3 kB / 1.243 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.477, allocations: 39.98 kB / 1.243 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.477, allocations: 4 kB / 1.243 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003438/1.48, allocations: 1.06 MB / 1.244 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.48, allocations: 8 kB / 1.244 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/1.483, allocations: 378.4 kB / 1.244 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.484, allocations: 159.8 kB / 1.245 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/1.49, allocations: 3.866 MB / 1.248 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.492, allocations: 179.1 kB / 1.249 GB, free: 2.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/1.492, allocations: 43.92 kB / 1.249 GB, free: 2.773 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.001133/1.493, allocations: 464.9 kB / 1.249 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004728/1.494, allocations: 154.1 kB / 1.249 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004873/1.499, allocations: 1.231 MB / 1.25 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/1.499, allocations: 8.281 kB / 1.25 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/1.499, allocations: 4 kB / 1.25 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004444/1.503, allocations: 1.318 MB / 1.252 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007693/1.511, allocations: 2.736 MB / 1.254 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.511, allocations: 7.984 kB / 1.254 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/1.512, allocations: 107.8 kB / 1.254 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002659/1.515, allocations: 374.3 kB / 1.255 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/1.515, allocations: 23.94 kB / 1.255 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/1.517, allocations: 2.047 MB / 1.257 GB, free: 10 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.517, allocations: 8.062 kB / 1.257 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/1.521, allocations: 1.394 MB / 1.258 GB, free: 8.469 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.522, allocations: 350.9 kB / 1.259 GB, free: 8.105 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/1.523, allocations: 16 kB / 1.259 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.525, allocations: 118 kB / 1.259 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/1.525, allocations: 56.42 kB / 1.259 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.525, allocations: 31.92 kB / 1.259 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002019/1.527, allocations: 0.8895 MB / 1.26 GB, free: 7.004 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.92e-07/1.527, allocations: 4 kB / 1.26 GB, free: 7 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0044/1.532, allocations: 0.9172 MB / 1.261 GB, free: 6.082 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.001183/1.533, allocations: 363.4 kB / 1.261 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006831/1.54, allocations: 1.669 MB / 1.263 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.54, allocations: 3.938 kB / 1.263 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/1.542, allocations: 482.9 kB / 1.263 GB, free: 3.555 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007057/1.549, allocations: 0.7845 MB / 1.264 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007796/1.557, allocations: 3.254 MB / 1.267 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.558, allocations: 1.375 MB / 1.268 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002434/1.561, allocations: 321.7 kB / 1.269 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/1.561, allocations: 99.42 kB / 1.269 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of SimCode: time 1.503e-06/1.561, allocations: 4 kB / 1.269 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of Templates: time 0.08681/1.648, allocations: 30.57 MB / 1.299 GB, free: 15.36 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)