Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 197.4 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 68.67 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3404, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.9755/1.316, allocations: 250.9 MB / 1.313 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02548/1.342, allocations: 17.95 MB / 1.33 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003952/1.346, allocations: 76.88 kB / 1.33 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003617/1.349, allocations: 0.9488 MB / 1.331 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01199/1.361, allocations: 3.587 MB / 1.335 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005828/1.367, allocations: 1.653 MB / 1.336 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008451/1.376, allocations: 5.088 MB / 1.341 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00342/1.379, allocations: 1.803 MB / 1.343 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/1.385, allocations: 2.173 MB / 1.345 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004135/1.389, allocations: 1.611 MB / 1.347 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008369/1.39, allocations: 183.7 kB / 1.347 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006904/1.397, allocations: 2.624 MB / 1.35 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/1.398, allocations: 0.5924 MB / 1.35 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002716/1.401, allocations: 1.121 MB / 1.351 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007396/1.409, allocations: 3.768 MB / 1.355 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.409, allocations: 2.406 kB / 1.355 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.014e-06/1.409, allocations: 0 / 1.355 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001285/1.409, allocations: 0 / 1.355 GB, free: 1.301 MB / 0.9981 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.006209/1.415, allocations: 2.479 MB / 1.357 GB, free: 15.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.415, allocations: 8.438 kB / 1.357 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/1.417, allocations: 377.1 kB / 1.358 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003021/1.42, allocations: 1.43 MB / 1.359 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.575e-05/1.42, allocations: 111.2 kB / 1.359 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/1.42, allocations: 137.6 kB / 1.359 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/1.423, allocations: 1.513 MB / 1.361 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/1.423, allocations: 2.531 kB / 1.361 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.423, allocations: 53.69 kB / 1.361 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/1.423, allocations: 57.45 kB / 1.361 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/1.425, allocations: 1.141 MB / 1.362 GB, free: 13.64 MB / 1.014 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.008787/1.434, allocations: 7.182 MB / 1.369 GB, free: 8.375 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/1.436, allocations: 0.8183 MB / 1.37 GB, free: 7.984 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/1.436, allocations: 446.8 kB / 1.37 GB, free: 7.824 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000852/1.437, allocations: 0.716 MB / 1.371 GB, free: 7.062 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/1.437, allocations: 50.64 kB / 1.371 GB, free: 7.012 MB / 1.014 GB Notification: Performance of pre-optimization done (n=74): time 3.346e-06/1.437, allocations: 0 / 1.371 GB, free: 7.012 MB / 1.014 GB Notification: Performance of matching and sorting (n=74): time 0.006622/1.444, allocations: 2.073 MB / 1.373 GB, free: 6.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/1.444, allocations: 60.03 kB / 1.373 GB, free: 6.098 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002079/1.446, allocations: 1.313 MB / 1.374 GB, free: 5.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-05/1.446, allocations: 39.67 kB / 1.374 GB, free: 5.551 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000611/1.447, allocations: 0.802 MB / 1.375 GB, free: 4.922 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/1.447, allocations: 262.7 kB / 1.375 GB, free: 4.723 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/1.447, allocations: 166.5 kB / 1.376 GB, free: 4.645 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.447, allocations: 345.2 kB / 1.376 GB, free: 4.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/1.448, allocations: 330.9 kB / 1.376 GB, free: 4.203 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/1.449, allocations: 0.57 MB / 1.377 GB, free: 3.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/1.45, allocations: 0.8729 MB / 1.378 GB, free: 3.34 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.45, allocations: 3.594 kB / 1.378 GB, free: 3.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002764/1.453, allocations: 1.256 MB / 1.379 GB, free: 2.844 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/1.453, allocations: 10.41 kB / 1.379 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/1.453, allocations: 4.75 kB / 1.379 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/1.455, allocations: 407.8 kB / 1.379 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/1.456, allocations: 155.1 kB / 1.379 GB, free: 2.629 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/1.458, allocations: 2.055 MB / 1.381 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.459, allocations: 185.2 kB / 1.382 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/1.459, allocations: 37.22 kB / 1.382 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001155/1.46, allocations: 0.6373 MB / 1.382 GB, free: 292 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008107/1.461, allocations: 0.5572 MB / 1.383 GB, free: 15.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001346/1.463, allocations: 0.8562 MB / 1.384 GB, free: 15.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.08e-06/1.463, allocations: 4 kB / 1.384 GB, free: 15.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.002319/1.465, allocations: 1.207 MB / 1.385 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.465, allocations: 11.95 kB / 1.385 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.465, allocations: 3.219 kB / 1.385 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/1.467, allocations: 360 kB / 1.385 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/1.467, allocations: 150.4 kB / 1.385 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/1.471, allocations: 4.194 MB / 1.389 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/1.472, allocations: 167 kB / 1.39 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/1.472, allocations: 31.75 kB / 1.39 GB, free: 10.41 MB / 1.029 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.0003363/1.473, allocations: 245.1 kB / 1.39 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/1.473, allocations: 158.1 kB / 1.39 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/1.476, allocations: 1.188 MB / 1.391 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.476, allocations: 12.59 kB / 1.391 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.476, allocations: 0 / 1.391 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/1.479, allocations: 1.285 MB / 1.392 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005177/1.484, allocations: 2.746 MB / 1.395 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.484, allocations: 5 kB / 1.395 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/1.485, allocations: 102.4 kB / 1.395 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/1.486, allocations: 350.2 kB / 1.396 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/1.486, allocations: 23.64 kB / 1.396 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/1.488, allocations: 2.024 MB / 1.398 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.488, allocations: 5.156 kB / 1.398 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/1.49, allocations: 1.212 MB / 1.399 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007969/1.491, allocations: 332.2 kB / 1.399 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/1.491, allocations: 25.08 kB / 1.399 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.492, allocations: 108.3 kB / 1.399 GB, free: 3.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.493, allocations: 57.77 kB / 1.399 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/1.493, allocations: 33.11 kB / 1.399 GB, free: 3.547 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001395/1.494, allocations: 0.885 MB / 1.4 GB, free: 3.066 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.494, allocations: 0 / 1.4 GB, free: 3.066 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002953/1.497, allocations: 0.8994 MB / 1.401 GB, free: 2.875 MB / 1.029 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.0009091/1.498, allocations: 381.3 kB / 1.401 GB, free: 2.676 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003689/1.502, allocations: 1.72 MB / 1.403 GB, free: 1.824 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.502, allocations: 3.031 kB / 1.403 GB, free: 1.824 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.503, allocations: 473.5 kB / 1.403 GB, free: 1.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/1.507, allocations: 0.79 MB / 1.404 GB, free: 1.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/1.512, allocations: 3.337 MB / 1.408 GB, free: 14.19 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/1.513, allocations: 1.344 MB / 1.409 GB, free: 12.81 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001642/1.514, allocations: 331.8 kB / 1.409 GB, free: 12.49 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/1.515, allocations: 95.42 kB / 1.409 GB, free: 12.39 MB / 1.045 GB Notification: Performance of SimCode: time 6.11e-07/1.515, allocations: 0 / 1.409 GB, free: 12.39 MB / 1.045 GB Notification: Performance of Templates: time 0.05596/1.571, allocations: 32.16 MB / 1.441 GB, free: 12.74 MB / 1.076 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)