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.001186/0.001186, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 59.23 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3882, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.888/1.276, allocations: 248.4 MB / 1.311 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01813/1.294, allocations: 11.98 MB / 1.322 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004054/1.299, allocations: 79.62 kB / 1.323 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003286/1.302, allocations: 1.047 MB / 1.324 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01321/1.315, allocations: 3.192 MB / 1.327 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006067/1.321, allocations: 1.536 MB / 1.328 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00929/1.331, allocations: 4.708 MB / 1.333 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/1.334, allocations: 1.522 MB / 1.334 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008389/1.342, allocations: 2.064 MB / 1.336 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/1.346, allocations: 1.321 MB / 1.338 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004314/1.346, allocations: 163.5 kB / 1.338 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006068/1.352, allocations: 2.266 MB / 1.34 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006746/1.353, allocations: 0.5298 MB / 1.34 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001788/1.355, allocations: 0.9953 MB / 1.341 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005775/1.361, allocations: 3.253 MB / 1.345 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.361, allocations: 3.281 kB / 1.345 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.361, allocations: 0 / 1.345 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.728e-05/1.361, allocations: 0 / 1.345 GB, free: 3.492 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.004633/1.365, allocations: 2.249 MB / 1.347 GB, free: 18.19 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.365, allocations: 8.438 kB / 1.347 GB, free: 18.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/1.367, allocations: 348.2 kB / 1.347 GB, free: 18.08 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/1.369, allocations: 1.332 MB / 1.348 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/1.369, allocations: 96.94 kB / 1.349 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/1.369, allocations: 113.5 kB / 1.349 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/1.371, allocations: 1.208 MB / 1.35 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/1.371, allocations: 7 kB / 1.35 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.372, allocations: 53.53 kB / 1.35 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/1.372, allocations: 42.77 kB / 1.35 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/1.373, allocations: 0.952 MB / 1.351 GB, free: 16.36 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.007209/1.38, allocations: 5.601 MB / 1.356 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/1.382, allocations: 0.8701 MB / 1.357 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000614/1.382, allocations: 408 kB / 1.358 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006357/1.383, allocations: 0.6045 MB / 1.358 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.383, allocations: 42.05 kB / 1.358 GB, free: 11.13 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/1.383, allocations: 0 / 1.358 GB, free: 11.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.0038/1.387, allocations: 1.427 MB / 1.36 GB, free: 10.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/1.387, allocations: 59.97 kB / 1.36 GB, free: 10.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/1.389, allocations: 1.211 MB / 1.361 GB, free: 9.965 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/1.389, allocations: 43.73 kB / 1.361 GB, free: 9.922 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005519/1.389, allocations: 0.6821 MB / 1.362 GB, free: 9.391 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/1.39, allocations: 252.5 kB / 1.362 GB, free: 9.199 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/1.39, allocations: 157 kB / 1.362 GB, free: 9.121 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.39, allocations: 341.3 kB / 1.362 GB, free: 8.801 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005909/1.391, allocations: 315.5 kB / 1.363 GB, free: 8.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/1.391, allocations: 0.5036 MB / 1.363 GB, free: 8.355 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/1.393, allocations: 0.7423 MB / 1.364 GB, free: 7.992 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.393, allocations: 0 / 1.364 GB, free: 7.992 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002508/1.395, allocations: 1.069 MB / 1.365 GB, free: 7.566 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.395, allocations: 9.375 kB / 1.365 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.395, allocations: 10.5 kB / 1.365 GB, free: 7.559 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008409/1.396, allocations: 156.2 kB / 1.365 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/1.397, allocations: 173.7 kB / 1.365 GB, free: 7.508 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/1.398, allocations: 1.756 MB / 1.367 GB, free: 5.812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.4, allocations: 110.9 kB / 1.367 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/1.4, allocations: 29.75 kB / 1.367 GB, free: 5.742 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/1.401, allocations: 0.5814 MB / 1.368 GB, free: 5.453 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007211/1.402, allocations: 0.4998 MB / 1.368 GB, free: 5.125 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001222/1.403, allocations: 0.7153 MB / 1.369 GB, free: 4.773 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/1.403, allocations: 4 kB / 1.369 GB, free: 4.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002288/1.405, allocations: 1.008 MB / 1.37 GB, free: 4.363 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.405, allocations: 4.438 kB / 1.37 GB, free: 4.363 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.405, allocations: 10.11 kB / 1.37 GB, free: 4.359 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/1.405, allocations: 100.3 kB / 1.37 GB, free: 4.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/1.406, allocations: 154.3 kB / 1.37 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/1.409, allocations: 3.476 MB / 1.373 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/1.411, allocations: 88.91 kB / 1.373 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/1.411, allocations: 27.69 kB / 1.373 GB, free: 0.957 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.0003538/1.411, allocations: 229.1 kB / 1.374 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/1.412, allocations: 140.5 kB / 1.374 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/1.414, allocations: 0.9537 MB / 1.375 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.414, allocations: 8.219 kB / 1.375 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.414, allocations: 2.844 kB / 1.375 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001403/1.415, allocations: 1.063 MB / 1.376 GB, free: 15.55 MB / 1.029 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.004101/1.419, allocations: 2.456 MB / 1.378 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.419, allocations: 2.812 kB / 1.378 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007172/1.42, allocations: 157.4 kB / 1.378 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002552/1.42, allocations: 91.36 kB / 1.378 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.835e-05/1.42, allocations: 18.84 kB / 1.378 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/1.421, allocations: 1.749 MB / 1.38 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.421, allocations: 3.312 kB / 1.38 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/1.424, allocations: 1.405 MB / 1.382 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007555/1.425, allocations: 309.5 kB / 1.382 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/1.425, allocations: 23.94 kB / 1.382 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/1.426, allocations: 50.09 kB / 1.382 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.426, allocations: 50.19 kB / 1.382 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/1.426, allocations: 30.48 kB / 1.382 GB, free: 11.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001185/1.427, allocations: 0.8318 MB / 1.383 GB, free: 10.92 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.51e-07/1.427, allocations: 3.938 kB / 1.383 GB, free: 10.92 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002325/1.429, allocations: 0.8032 MB / 1.384 GB, free: 10.75 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.0009749/1.43, allocations: 390.8 kB / 1.384 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003368/1.434, allocations: 1.516 MB / 1.385 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.434, allocations: 3.406 kB / 1.385 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008772/1.435, allocations: 407.2 kB / 1.386 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/1.438, allocations: 0.7638 MB / 1.387 GB, free: 9.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/1.443, allocations: 2.708 MB / 1.389 GB, free: 7.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009662/1.444, allocations: 1.283 MB / 1.39 GB, free: 6.547 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001683/1.446, allocations: 343.6 kB / 1.391 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/1.446, allocations: 103.2 kB / 1.391 GB, free: 6.375 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/1.446, allocations: 0 / 1.391 GB, free: 6.375 MB / 1.029 GB Notification: Performance of Templates: time 0.05631/1.503, allocations: 29.14 MB / 1.419 GB, free: 13.9 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)