Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002214/0.002214, allocations: 188.4 kB / 16.25 MB, free: 6.629 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.98 kB / 0.9115 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.315, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 1.038/1.353, allocations: 245.4 MB / 1.307 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02023/1.373, allocations: 11.92 MB / 1.319 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004496/1.378, allocations: 69.88 kB / 1.319 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003289/1.381, allocations: 0.9234 MB / 1.32 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/1.391, allocations: 2.991 MB / 1.323 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/1.396, allocations: 1.428 MB / 1.324 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007255/1.403, allocations: 4.729 MB / 1.329 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/1.405, allocations: 1.486 MB / 1.33 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005642/1.411, allocations: 2.084 MB / 1.332 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003091/1.414, allocations: 1.389 MB / 1.334 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003463/1.415, allocations: 156.7 kB / 1.334 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005592/1.42, allocations: 2.351 MB / 1.336 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006394/1.421, allocations: 0.5392 MB / 1.337 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/1.422, allocations: 0.9928 MB / 1.338 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006122/1.429, allocations: 3.37 MB / 1.341 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.429, allocations: 0 / 1.341 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.525e-06/1.429, allocations: 0 / 1.341 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.653e-05/1.429, allocations: 0.8125 kB / 1.341 GB, free: 3.656 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004104/1.433, allocations: 2.251 MB / 1.343 GB, free: 18.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.433, allocations: 13.92 kB / 1.343 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/1.434, allocations: 349.6 kB / 1.343 GB, free: 18.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/1.436, allocations: 1.357 MB / 1.345 GB, free: 18.01 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/1.436, allocations: 88.64 kB / 1.345 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/1.437, allocations: 122.9 kB / 1.345 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/1.438, allocations: 1.212 MB / 1.346 GB, free: 17.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/1.439, allocations: 13.36 kB / 1.346 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/1.439, allocations: 42.12 kB / 1.346 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-05/1.439, allocations: 39.42 kB / 1.346 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/1.44, allocations: 0.9535 MB / 1.347 GB, free: 17.19 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.006144/1.446, allocations: 5.527 MB / 1.353 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/1.448, allocations: 0.8723 MB / 1.353 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/1.448, allocations: 409.7 kB / 1.354 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006228/1.449, allocations: 0.6055 MB / 1.354 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/1.449, allocations: 42.94 kB / 1.354 GB, free: 11.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/1.449, allocations: 2.531 kB / 1.354 GB, free: 11.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.003573/1.453, allocations: 1.426 MB / 1.356 GB, free: 11.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.453, allocations: 64.41 kB / 1.356 GB, free: 11.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.454, allocations: 1.197 MB / 1.357 GB, free: 10.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-05/1.454, allocations: 53.09 kB / 1.357 GB, free: 10.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/1.455, allocations: 0.6785 MB / 1.358 GB, free: 10.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/1.455, allocations: 252.4 kB / 1.358 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/1.455, allocations: 156.3 kB / 1.358 GB, free: 9.965 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.455, allocations: 341.3 kB / 1.359 GB, free: 9.645 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/1.456, allocations: 306.7 kB / 1.359 GB, free: 9.531 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007035/1.457, allocations: 0.508 MB / 1.359 GB, free: 9.199 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/1.458, allocations: 0.7386 MB / 1.36 GB, free: 8.836 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.458, allocations: 0 / 1.36 GB, free: 8.836 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002146/1.46, allocations: 1.073 MB / 1.361 GB, free: 8.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.46, allocations: 5.156 kB / 1.361 GB, free: 8.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.46, allocations: 11.3 kB / 1.361 GB, free: 8.402 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007802/1.461, allocations: 158 kB / 1.361 GB, free: 8.363 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/1.461, allocations: 171.4 kB / 1.361 GB, free: 8.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/1.463, allocations: 1.757 MB / 1.363 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.464, allocations: 176.9 kB / 1.363 GB, free: 6.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/1.464, allocations: 34.92 kB / 1.363 GB, free: 6.578 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001025/1.465, allocations: 0.5829 MB / 1.364 GB, free: 6.289 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006873/1.466, allocations: 0.5062 MB / 1.364 GB, free: 5.957 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001106/1.467, allocations: 0.714 MB / 1.365 GB, free: 5.602 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/1.467, allocations: 0 / 1.365 GB, free: 5.602 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.001839/1.469, allocations: 1.018 MB / 1.366 GB, free: 5.191 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/1.469, allocations: 4.844 kB / 1.366 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.469, allocations: 5.984 kB / 1.366 GB, free: 5.188 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/1.469, allocations: 94.33 kB / 1.366 GB, free: 5.152 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/1.47, allocations: 154.4 kB / 1.366 GB, free: 5.148 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/1.473, allocations: 3.478 MB / 1.37 GB, free: 1.832 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/1.474, allocations: 155.3 kB / 1.37 GB, free: 1.781 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/1.474, allocations: 33.41 kB / 1.37 GB, free: 1.773 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000311/1.475, allocations: 230 kB / 1.37 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/1.475, allocations: 146.4 kB / 1.37 GB, free: 1.492 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/1.477, allocations: 0.9436 MB / 1.371 GB, free: 1.082 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.477, allocations: 10.84 kB / 1.371 GB, free: 1.078 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/1.477, allocations: 0 / 1.371 GB, free: 1.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001526/1.479, allocations: 1.058 MB / 1.372 GB, free: 392 kB / 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 postOpt removeSimpleEquations (simulation): time 0.005111/1.484, allocations: 2.453 MB / 1.375 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/1.484, allocations: 6.812 kB / 1.375 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000751/1.484, allocations: 155.7 kB / 1.375 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/1.485, allocations: 93.78 kB / 1.375 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.006e-05/1.485, allocations: 22.31 kB / 1.375 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/1.486, allocations: 1.734 MB / 1.377 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.486, allocations: 9.656 kB / 1.377 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/1.489, allocations: 1.414 MB / 1.378 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007775/1.489, allocations: 314.4 kB / 1.378 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/1.49, allocations: 26.48 kB / 1.378 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.491, allocations: 105.2 kB / 1.378 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.491, allocations: 51.45 kB / 1.378 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.71e-05/1.491, allocations: 32.81 kB / 1.378 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001471/1.493, allocations: 0.8184 MB / 1.379 GB, free: 12.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.493, allocations: 0 / 1.379 GB, free: 12.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002749/1.495, allocations: 0.8073 MB / 1.38 GB, free: 11.93 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.mas.T) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009855/1.496, allocations: 383.7 kB / 1.38 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003479/1.5, allocations: 1.528 MB / 1.382 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.5, allocations: 6.781 kB / 1.382 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008561/1.501, allocations: 408.4 kB / 1.382 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/1.505, allocations: 0.7526 MB / 1.383 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/1.51, allocations: 3.262 MB / 1.386 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/1.512, allocations: 1.288 MB / 1.388 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001841/1.514, allocations: 344.3 kB / 1.388 GB, free: 7.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/1.514, allocations: 105.3 kB / 1.388 GB, free: 7.246 MB / 1.029 GB Notification: Performance of SimCode: time 1.293e-06/1.514, allocations: 0 / 1.388 GB, free: 7.246 MB / 1.029 GB Notification: Performance of Templates: time 0.05321/1.567, allocations: 28.74 MB / 1.416 GB, free: 15.74 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)