Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007672/0.0007674, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.005448/0.005448, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.688/1.688, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.591/1.591, allocations: 252 MB / 0.5105 GB, free: 4.727 MB / 414.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.000523/0.000523, allocations: 20 kB / 0.6249 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5107, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.7569/1.268, allocations: 250.7 MB / 0.9735 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0137/1.281, allocations: 9.651 MB / 0.983 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/1.284, allocations: 64.84 kB / 0.983 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/1.286, allocations: 0.8106 MB / 0.9838 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007058/1.293, allocations: 2.565 MB / 0.9863 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005446/1.299, allocations: 1.957 MB / 0.9882 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006837/1.306, allocations: 5.511 MB / 0.9936 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/1.308, allocations: 1.296 MB / 0.9949 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/1.311, allocations: 1.622 MB / 0.9965 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/1.314, allocations: 1.264 MB / 0.9977 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/1.314, allocations: 63.34 kB / 0.9978 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005985/1.32, allocations: 3.489 MB / 1.001 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007758/1.321, allocations: 492.6 kB / 1.002 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001418/1.323, allocations: 0.9199 MB / 1.003 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007071/1.33, allocations: 3.72 MB / 1.006 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.33, allocations: 3.312 kB / 1.006 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/1.33, allocations: 4 kB / 1.006 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.568e-05/1.33, allocations: 0 / 1.006 GB, free: 14.66 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00394/1.334, allocations: 2.133 MB / 1.008 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.334, allocations: 9.844 kB / 1.008 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004122/1.338, allocations: 0.6436 MB / 1.009 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002969/1.341, allocations: 1.363 MB / 1.01 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003752/1.341, allocations: 164.1 kB / 1.01 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002172/1.341, allocations: 130.1 kB / 1.011 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/1.344, allocations: 1.449 MB / 1.012 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/1.344, allocations: 2.438 kB / 1.012 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.344, allocations: 53.28 kB / 1.012 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/1.344, allocations: 39.27 kB / 1.012 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/1.347, allocations: 1.223 MB / 1.013 GB, free: 10.15 MB / 0.7325 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.007595/1.354, allocations: 5.731 MB / 1.019 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/1.356, allocations: 1.04 MB / 1.02 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009743/1.357, allocations: 0.5424 MB / 1.02 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/1.358, allocations: 326 kB / 1.021 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/1.359, allocations: 0.5838 MB / 1.021 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=85): time 2.795e-06/1.359, allocations: 3.344 kB / 1.021 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=93): time 0.008598/1.368, allocations: 3.623 MB / 1.025 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/1.368, allocations: 87.08 kB / 1.025 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.37, allocations: 1.359 MB / 1.026 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.37, allocations: 45.7 kB / 1.026 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000619/1.37, allocations: 0.732 MB / 1.027 GB, free: 244 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/1.371, allocations: 318 kB / 1.027 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/1.371, allocations: 96.47 kB / 1.027 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.371, allocations: 345.9 kB / 1.028 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009763/1.372, allocations: 470 kB / 1.028 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/1.373, allocations: 0.6814 MB / 1.029 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/1.387, allocations: 3.628 MB / 1.032 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.387, allocations: 8 kB / 1.032 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003409/1.39, allocations: 1.571 MB / 1.034 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/1.39, allocations: 248.2 kB / 1.034 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.39, allocations: 8 kB / 1.034 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007634/1.391, allocations: 241.2 kB / 1.034 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008872/1.392, allocations: 206.6 kB / 1.035 GB, free: 8.238 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004221/1.396, allocations: 4.487 MB / 1.039 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.398, allocations: 155.8 kB / 1.039 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.398, allocations: 39.98 kB / 1.039 GB, free: 3.297 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-06/1.398, allocations: 4 kB / 1.039 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002908/1.401, allocations: 1.4 MB / 1.04 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.401, allocations: 4 kB / 1.04 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/1.402, allocations: 224.9 kB / 1.041 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/1.403, allocations: 202.1 kB / 1.041 GB, free: 1.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/1.408, allocations: 5.509 MB / 1.046 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/1.41, allocations: 139.7 kB / 1.046 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/1.411, allocations: 43.98 kB / 1.046 GB, free: 11.43 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * 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 {(1,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001212/1.412, allocations: 0.5095 MB / 1.047 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004471/1.412, allocations: 162 kB / 1.047 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/1.415, allocations: 1.328 MB / 1.048 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/1.415, allocations: 8 kB / 1.048 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.415, allocations: 0 / 1.048 GB, free: 9.402 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002296/1.418, allocations: 1.18 MB / 1.05 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/1.424, allocations: 3.115 MB / 1.053 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/1.424, allocations: 4 kB / 1.053 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/1.425, allocations: 194.3 kB / 1.053 GB, free: 4.824 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/1.425, allocations: 56.88 kB / 1.053 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/1.425, allocations: 31.98 kB / 1.053 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003894/1.425, allocations: 0.5865 MB / 1.053 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.425, allocations: 6.688 kB / 1.053 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003884/1.429, allocations: 2.029 MB / 1.055 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000809/1.43, allocations: 351 kB / 1.056 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/1.431, allocations: 28 kB / 1.056 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.432, allocations: 117.6 kB / 1.056 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/1.432, allocations: 67.33 kB / 1.056 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/1.432, allocations: 35.98 kB / 1.056 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001646/1.434, allocations: 0.9177 MB / 1.057 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3e-07/1.434, allocations: 0 / 1.057 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003003/1.437, allocations: 0.6904 MB / 1.058 GB, free: 15.82 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00081/1.438, allocations: 306.1 kB / 1.058 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004837/1.443, allocations: 2.588 MB / 1.06 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.443, allocations: 0 / 1.06 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/1.444, allocations: 0.6212 MB / 1.061 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/1.449, allocations: 0.8362 MB / 1.062 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/1.456, allocations: 3.961 MB / 1.066 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/1.457, allocations: 1.348 MB / 1.067 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001697/1.459, allocations: 344.9 kB / 1.067 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/1.459, allocations: 111.4 kB / 1.067 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/1.459, allocations: 0 / 1.067 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of Templates: time 0.05361/1.513, allocations: 31.74 MB / 1.098 GB, free: 6.332 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: