Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.699/2.699, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 184 kB / 326.3 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.45/2.45, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009534/0.0009533, allocations: 92.17 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004752, allocations: 14 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2408, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.239/0.4798, allocations: 103.4 MB / 1 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.09275/0.5726, allocations: 29.81 MB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007455/0.5801, allocations: 127.1 kB / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.009417/0.5896, allocations: 1.234 MB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02284/0.6125, allocations: 3.628 MB / 1.034 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0179/0.6305, allocations: 2.35 MB / 1.037 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 1.308/1.939, allocations: 50.84 MB / 1.086 GB, free: 12.45 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03639/1.975, allocations: 16.76 MB / 1.103 GB, free: 26.08 MB / 0.7137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02916/2.005, allocations: 11.45 MB / 1.114 GB, free: 25.69 MB / 0.7137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02765/2.032, allocations: 11.73 MB / 1.125 GB, free: 23.25 MB / 0.7137 GB Notification: Performance of NFPackage.collectConstants: time 0.005895/2.038, allocations: 0.7563 MB / 1.126 GB, free: 23.25 MB / 0.7137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01662/2.055, allocations: 2.32 MB / 1.128 GB, free: 23.12 MB / 0.7137 GB Notification: Performance of NFScalarize.scalarize: time 0.008536/2.064, allocations: 3.29 MB / 1.132 GB, free: 22.52 MB / 0.7137 GB Notification: Performance of NFVerifyModel.verify: time 0.009818/2.073, allocations: 3.696 MB / 1.135 GB, free: 21.95 MB / 0.7137 GB Notification: Performance of NFConvertDAE.convert: time 0.04265/2.116, allocations: 27.34 MB / 1.162 GB, free: 1.344 MB / 0.7137 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/2.116, allocations: 4 kB / 1.162 GB, free: 1.34 MB / 0.7137 GB Notification: Performance of FrontEnd: time 3.236e-06/2.116, allocations: 0 / 1.162 GB, free: 1.34 MB / 0.7137 GB Notification: Performance of Transformations before backend: time 0.0009871/2.117, allocations: 0 / 1.162 GB, free: 1.34 MB / 0.7137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 0.06231/2.179, allocations: 15.99 MB / 1.177 GB, free: 2.617 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/2.18, allocations: 12.03 kB / 1.177 GB, free: 2.605 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/2.192, allocations: 1.945 MB / 1.179 GB, free: 0.6445 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04783/2.24, allocations: 15.46 MB / 1.194 GB, free: 6.668 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001391/2.242, allocations: 0.9996 MB / 1.195 GB, free: 6.102 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005957/2.248, allocations: 1.334 MB / 1.197 GB, free: 5.207 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06627/2.314, allocations: 19.99 MB / 1.216 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008153/2.315, allocations: 42.33 kB / 1.216 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004752/2.32, allocations: 0.5359 MB / 1.217 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006503/2.32, allocations: 390.1 kB / 1.217 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06072/2.381, allocations: 18.07 MB / 1.235 GB, free: 6.266 MB / 0.7762 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.2081/2.589, allocations: 86.25 MB / 1.319 GB, free: 12.03 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0367/2.626, allocations: 12.93 MB / 1.332 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02068/2.647, allocations: 7.421 MB / 1.339 GB, free: 7.723 MB / 0.8855 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 evalFunc (simulation): time 0.08954/2.736, allocations: 26.71 MB / 1.365 GB, free: 12.07 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01804/2.754, allocations: 5.903 MB / 1.371 GB, free: 6.113 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009171/2.764, allocations: 0.8008 MB / 1.372 GB, free: 5.309 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=772): time 2.43e-05/2.764, allocations: 0 / 1.372 GB, free: 5.309 MB / 0.9168 GB Notification: Performance of matching and sorting (n=772): time 0.2188/2.983, allocations: 32.24 MB / 1.403 GB, free: 4.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/2.983, allocations: 159.1 kB / 1.403 GB, free: 4.754 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.211/4.193, allocations: 12.08 MB / 1.415 GB, free: 352.2 MB / 0.9481 GB Notification: Performance of collectPreVariables (initialization): time 0.002368/4.196, allocations: 197.3 kB / 1.415 GB, free: 352.2 MB / 0.9481 GB Notification: Performance of collectInitialEqns (initialization): time 0.01239/4.208, allocations: 6.963 MB / 1.422 GB, free: 350.8 MB / 0.9481 GB Notification: Performance of collectInitialBindings (initialization): time 0.005378/4.214, allocations: 2.691 MB / 1.425 GB, free: 349.1 MB / 0.9481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002304/4.216, allocations: 230.4 kB / 1.425 GB, free: 349.1 MB / 0.9481 GB Notification: Performance of setup shared object (initialization): time 0.001328/4.217, allocations: 0.7755 MB / 1.426 GB, free: 348.8 MB / 0.9481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01937/4.237, allocations: 6.247 MB / 1.432 GB, free: 346.8 MB / 0.9481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02089/4.258, allocations: 9.546 MB / 1.441 GB, free: 340.7 MB / 0.9481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02157/4.279, allocations: 8.12 MB / 1.449 GB, free: 337.4 MB / 0.9481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/4.28, allocations: 27.59 kB / 1.449 GB, free: 337.4 MB / 0.9481 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.05683/4.336, allocations: 18.81 MB / 1.467 GB, free: 330 MB / 0.9481 GB Notification: Performance of prepare postOptimizeDAE: time 0.002046/4.339, allocations: 3.091 MB / 1.47 GB, free: 325.9 MB / 0.9481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003459/4.339, allocations: 98.62 kB / 1.47 GB, free: 325.9 MB / 0.9481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1279/4.467, allocations: 9.042 MB / 1.479 GB, free: 322 MB / 0.9481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01909/4.486, allocations: 2.453 MB / 1.482 GB, free: 319.5 MB / 0.9481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/4.505, allocations: 10.37 MB / 1.492 GB, free: 308.9 MB / 0.9481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02015/4.525, allocations: 1.103 MB / 1.493 GB, free: 307.8 MB / 0.9481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003108/4.528, allocations: 0.517 MB / 1.493 GB, free: 307.3 MB / 0.9481 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/4.528, allocations: 4 kB / 1.493 GB, free: 307.3 MB / 0.9481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0563/4.585, allocations: 17.84 MB / 1.511 GB, free: 289.3 MB / 0.9481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004373/4.585, allocations: 100 kB / 1.511 GB, free: 289.2 MB / 0.9481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1264/4.712, allocations: 9.006 MB / 1.52 GB, free: 280.2 MB / 0.9481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01901/4.731, allocations: 2.449 MB / 1.522 GB, free: 277.8 MB / 0.9481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/4.748, allocations: 10.37 MB / 1.532 GB, free: 267.1 MB / 0.9481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0189/4.767, allocations: 1.068 MB / 1.533 GB, free: 266 MB / 0.9481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00366/4.771, allocations: 0.5155 MB / 1.534 GB, free: 265.5 MB / 0.9481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1282 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.01591/4.787, allocations: 5.955 MB / 1.54 GB, free: 259.5 MB / 0.9481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006786/4.793, allocations: 1.146 MB / 1.541 GB, free: 258.4 MB / 0.9481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05403/4.847, allocations: 13.34 MB / 1.554 GB, free: 245 MB / 0.9481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03215/4.88, allocations: 11.01 MB / 1.565 GB, free: 233.9 MB / 0.9481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-05/4.88, allocations: 4 kB / 1.565 GB, free: 233.9 MB / 0.9481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01085/4.891, allocations: 2.854 MB / 1.567 GB, free: 231 MB / 0.9481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004868/4.896, allocations: 160 kB / 1.567 GB, free: 230.9 MB / 0.9481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01645/4.912, allocations: 0.798 MB / 1.568 GB, free: 230.1 MB / 0.9481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002173/4.914, allocations: 469.4 kB / 1.569 GB, free: 229.6 MB / 0.9481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05422/4.969, allocations: 14.46 MB / 1.583 GB, free: 215.3 MB / 0.9481 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04752/5.016, allocations: 18.86 MB / 1.601 GB, free: 196.3 MB / 0.9481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01198/5.028, allocations: 5.487 MB / 1.607 GB, free: 190.8 MB / 0.9481 GB Notification: Performance of sorting global known variables: time 0.02112/5.049, allocations: 8.324 MB / 1.615 GB, free: 182.5 MB / 0.9481 GB Notification: Performance of Backend: time 1.312e-06/5.049, allocations: 0 / 1.615 GB, free: 182.5 MB / 0.9481 GB Notification: Performance of simCode: created initialization part: time 0.06064/5.11, allocations: 19.63 MB / 1.634 GB, free: 163 MB / 0.9481 GB Notification: Performance of SimCode: time 0.1086/5.219, allocations: 40.8 MB / 1.674 GB, free: 122.2 MB / 0.9481 GB Notification: Performance of Templates: time 1.342/6.561, allocations: 302.9 MB / 1.969 GB, free: 157.6 MB / 0.9481 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)