Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001184/0.001184, allocations: 118 kB / 16.38 MB, free: 6.02 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.001156/0.001156, allocations: 185.1 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 71.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2286, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.6602/0.8889, allocations: 248.4 MB / 1.027 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.9096, allocations: 11.88 MB / 1.039 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.9126, allocations: 71.56 kB / 1.039 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003392/0.9161, allocations: 1.044 MB / 1.04 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.009323/0.9255, allocations: 3.18 MB / 1.043 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.9298, allocations: 1.562 MB / 1.045 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006935/0.9368, allocations: 4.694 MB / 1.049 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.9394, allocations: 1.516 MB / 1.051 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005297/0.9447, allocations: 2.079 MB / 1.053 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.9474, allocations: 1.324 MB / 1.054 GB, free: 6.051 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004933/0.9479, allocations: 156 kB / 1.054 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005316/0.9532, allocations: 2.276 MB / 1.056 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006234/0.9539, allocations: 0.5296 MB / 1.057 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.9553, allocations: 1.003 MB / 1.058 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005165/0.9604, allocations: 3.291 MB / 1.061 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9605, allocations: 0 / 1.061 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.464e-06/0.9605, allocations: 0 / 1.061 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.68e-05/0.9605, allocations: 0 / 1.061 GB, free: 14.78 MB / 0.8575 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.003699/0.9642, allocations: 2.258 MB / 1.063 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.9643, allocations: 8.031 kB / 1.063 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.9659, allocations: 345.5 kB / 1.064 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.9681, allocations: 1.409 MB / 1.065 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.496e-05/0.9682, allocations: 92.34 kB / 1.065 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.9684, allocations: 119.9 kB / 1.065 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.9704, allocations: 1.213 MB / 1.066 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.9705, allocations: 0 / 1.066 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.9706, allocations: 47.98 kB / 1.066 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.9706, allocations: 46.14 kB / 1.067 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.9724, allocations: 0.953 MB / 1.067 GB, free: 8.129 MB / 0.8575 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.006452/0.9788, allocations: 5.535 MB / 1.073 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.9801, allocations: 0.8661 MB / 1.074 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/0.9807, allocations: 409 kB / 1.074 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.9813, allocations: 0.6019 MB / 1.075 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.9814, allocations: 39.12 kB / 1.075 GB, free: 68 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 2.836e-06/0.9814, allocations: 0 / 1.075 GB, free: 68 kB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.003567/0.9849, allocations: 1.436 MB / 1.076 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.985, allocations: 59.97 kB / 1.076 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.9864, allocations: 1.198 MB / 1.077 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-05/0.9865, allocations: 45.7 kB / 1.077 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000494/0.987, allocations: 0.6771 MB / 1.078 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.9873, allocations: 248.3 kB / 1.078 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.9875, allocations: 162.6 kB / 1.078 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.9877, allocations: 342 kB / 1.079 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005858/0.9883, allocations: 300.7 kB / 1.079 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008592/0.9892, allocations: 0.53 MB / 1.08 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.9905, allocations: 0.7302 MB / 1.08 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.9905, allocations: 9.031 kB / 1.08 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002632/0.9931, allocations: 1.073 MB / 1.081 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.9932, allocations: 8 kB / 1.081 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.9932, allocations: 4 kB / 1.081 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008893/0.9941, allocations: 164.4 kB / 1.082 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.9949, allocations: 165 kB / 1.082 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.9962, allocations: 1.761 MB / 1.083 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.9975, allocations: 101.4 kB / 1.083 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.9976, allocations: 36.14 kB / 1.084 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001133/0.9987, allocations: 0.5877 MB / 1.084 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007431/0.9995, allocations: 0.5108 MB / 1.085 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001162/1.001, allocations: 0.7304 MB / 1.085 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/1.001, allocations: 0 / 1.085 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.001943/1.003, allocations: 1.005 MB / 1.086 GB, free: 3.801 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.003, allocations: 8.25 kB / 1.086 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.003, allocations: 8 kB / 1.086 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/1.003, allocations: 93.64 kB / 1.086 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/1.004, allocations: 151.8 kB / 1.087 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/1.006, allocations: 3.485 MB / 1.09 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.008, allocations: 91.75 kB / 1.09 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.139e-05/1.008, allocations: 28 kB / 1.09 GB, free: 15.65 MB / 0.8887 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.0002888/1.008, allocations: 241.1 kB / 1.09 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/1.008, allocations: 146.2 kB / 1.09 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/1.01, allocations: 0.9343 MB / 1.091 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/1.012, allocations: 1.053 MB / 1.092 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.012, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/1.012, allocations: 307.2 kB / 1.093 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/1.012, allocations: 19.98 kB / 1.093 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/1.013, allocations: 51.8 kB / 1.093 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/1.013, allocations: 58.02 kB / 1.093 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002063/1.015, allocations: 0.9564 MB / 1.094 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002051/1.017, allocations: 1.39 MB / 1.095 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000548/1.018, allocations: 337 kB / 1.095 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001104/1.019, allocations: 0.8239 MB / 1.096 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of Backend: time 4.01e-07/1.019, allocations: 0 / 1.096 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004625/1.024, allocations: 1.806 MB / 1.098 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of SimCode: time 0.006256/1.03, allocations: 3.613 MB / 1.101 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of Templates: time 0.05588/1.086, allocations: 34.95 MB / 1.136 GB, free: 1.301 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)