Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTanDyn.port_a.m_flow|senTanDyn.T|senTanSte.T|tanDyn.QHex_flow|tanSte.QHex_flow|tanDyn.vol.1..T|tanDyn.vol.5..T|tanDyn.vol.7..T|tanSte.vol.1..T|tanSte.vol.5..T|tanSte.vol.7..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTanDyn.port_a.m_flow|senTanDyn.T|senTanSte.T|tanDyn.QHex_flow|tanSte.QHex_flow|tanDyn.vol.1..T|tanDyn.vol.5..T|tanDyn.vol.7..T|tanSte.vol.1..T|tanSte.vol.5..T|tanSte.vol.7..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 107.7 kB / 16.41 MB, free: 6.496 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.001165/0.001166, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.578/2.578, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.89 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7524, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.113/0.8654, allocations: 112.1 MB / 1.33 GB, free: 1.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04244/0.9078, allocations: 32.04 MB / 1.362 GB, free: 1.711 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005102/0.913, allocations: 151.1 kB / 1.362 GB, free: 1.562 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005244/0.9182, allocations: 1.855 MB / 1.364 GB, free: 15.7 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.9309, allocations: 4.839 MB / 1.368 GB, free: 10.84 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009618/0.9405, allocations: 3.613 MB / 1.372 GB, free: 7.238 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.04889/0.9894, allocations: 47.78 MB / 1.419 GB, free: 7.332 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03238/1.022, allocations: 23.78 MB / 1.442 GB, free: 15.39 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02817/1.05, allocations: 16.39 MB / 1.458 GB, free: 15.05 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02202/1.072, allocations: 14.03 MB / 1.471 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.006769/1.079, allocations: 2.434 MB / 1.474 GB, free: 14.52 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01493/1.094, allocations: 4.738 MB / 1.478 GB, free: 9.785 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.009333/1.103, allocations: 5.501 MB / 1.484 GB, free: 4.27 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.02044/1.124, allocations: 11.1 MB / 1.495 GB, free: 9.129 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.04029/1.164, allocations: 34.58 MB / 1.528 GB, free: 6.453 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.164, allocations: 4 kB / 1.528 GB, free: 6.449 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.453e-06/1.164, allocations: 0 / 1.528 GB, free: 6.449 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0009022/1.165, allocations: 0 / 1.528 GB, free: 6.449 MB / 1.248 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.05301/1.218, allocations: 19.83 MB / 1.548 GB, free: 2.469 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.218, allocations: 8.625 kB / 1.548 GB, free: 2.461 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01083/1.229, allocations: 1.98 MB / 1.55 GB, free: 472 kB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03655/1.265, allocations: 16.34 MB / 1.566 GB, free: 32 kB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103/2.368, allocations: 1.003 MB / 1.567 GB, free: 304.4 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005428/2.373, allocations: 1.337 MB / 1.568 GB, free: 304 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04844/2.422, allocations: 20.25 MB / 1.588 GB, free: 295.6 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004499/2.422, allocations: 43.64 kB / 1.588 GB, free: 295.6 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003551/2.426, allocations: 0.5445 MB / 1.588 GB, free: 295.2 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002965/2.426, allocations: 386.5 kB / 1.589 GB, free: 295.2 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/2.46, allocations: 18.15 MB / 1.606 GB, free: 285.4 MB / 1.279 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.1167/2.577, allocations: 86.46 MB / 1.691 GB, free: 196.5 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/2.594, allocations: 12.96 MB / 1.704 GB, free: 183.6 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01052/2.605, allocations: 7.397 MB / 1.711 GB, free: 176.2 MB / 1.279 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.0513/2.656, allocations: 26.93 MB / 1.737 GB, free: 148.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01111/2.668, allocations: 6.057 MB / 1.743 GB, free: 142.2 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006275/2.674, allocations: 0.8216 MB / 1.744 GB, free: 141.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=772): time 2.489e-05/2.674, allocations: 0 / 1.744 GB, free: 141.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=772): time 0.1032/2.777, allocations: 32.37 MB / 1.775 GB, free: 108.9 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/2.777, allocations: 159.1 kB / 1.776 GB, free: 108.7 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01865/2.796, allocations: 12.83 MB / 1.788 GB, free: 95.9 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.002073/2.798, allocations: 201.7 kB / 1.788 GB, free: 95.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.006365/2.804, allocations: 7.038 MB / 1.795 GB, free: 88.62 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003561/2.808, allocations: 2.696 MB / 1.798 GB, free: 85.89 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004179/2.812, allocations: 2.313 MB / 1.8 GB, free: 83.56 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.885e-05/2.812, allocations: 301.1 kB / 1.8 GB, free: 83.27 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009549/2.822, allocations: 6.329 MB / 1.806 GB, free: 76.93 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/2.834, allocations: 9.598 MB / 1.816 GB, free: 65.94 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02049/2.855, allocations: 15.96 MB / 1.831 GB, free: 48.52 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.556e-05/2.855, allocations: 28 kB / 1.831 GB, free: 48.49 MB / 1.279 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.03311/2.888, allocations: 18.88 MB / 1.85 GB, free: 29.49 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.189e-05/2.888, allocations: 73.7 kB / 1.85 GB, free: 29.41 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.817e-05/2.888, allocations: 96 kB / 1.85 GB, free: 29.32 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06214/2.95, allocations: 9.129 MB / 1.859 GB, free: 20.17 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009866/2.96, allocations: 2.449 MB / 1.861 GB, free: 17.71 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/2.971, allocations: 10.82 MB / 1.872 GB, free: 6.602 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/2.984, allocations: 0.7215 MB / 1.873 GB, free: 5.879 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002941/2.986, allocations: 0.5194 MB / 1.873 GB, free: 5.359 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02085/3.007, allocations: 11.73 MB / 1.885 GB, free: 9.613 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01465/3.022, allocations: 9.59 MB / 1.894 GB, free: 14.64 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02599/3.048, allocations: 15.95 MB / 1.91 GB, free: 13.22 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001141/3.048, allocations: 32 kB / 1.91 GB, free: 13.19 MB / 1.326 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.04628/3.095, allocations: 18.87 MB / 1.928 GB, free: 10.2 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001566/3.095, allocations: 82.78 kB / 1.928 GB, free: 10.11 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/3.095, allocations: 108.1 kB / 1.928 GB, free: 10.01 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06506/3.16, allocations: 9.106 MB / 1.937 GB, free: 0.8867 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01141/3.171, allocations: 2.461 MB / 1.939 GB, free: 14.42 MB / 1.358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/3.186, allocations: 10.81 MB / 1.95 GB, free: 3.309 MB / 1.358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01245/3.198, allocations: 0.7138 MB / 1.951 GB, free: 2.594 MB / 1.358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00283/3.201, allocations: 0.5155 MB / 1.951 GB, free: 2.078 MB / 1.358 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 (mHex_flow_in.count,$PRE.mHex_flow_in.count,mHex_flow_in.T_start,$PRE.mHex_flow_in.T_start,$whenCondition1) * 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 (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): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,144)} Notification: Performance of prepare postOptimizeDAE: time 0.004788/3.206, allocations: 0.864 MB / 1.952 GB, free: 1.203 MB / 1.358 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00557/3.212, allocations: 1.169 MB / 1.953 GB, free: 20 kB / 1.358 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03127/3.243, allocations: 13.37 MB / 1.966 GB, free: 2.594 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02104/3.264, allocations: 11.04 MB / 1.977 GB, free: 7.477 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/3.264, allocations: 0 / 1.977 GB, free: 7.477 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00906/3.273, allocations: 2.774 MB / 1.98 GB, free: 4.668 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004253/3.277, allocations: 152 kB / 1.98 GB, free: 4.52 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009714/3.287, allocations: 467.1 kB / 1.98 GB, free: 4.062 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001709/3.289, allocations: 465.5 kB / 1.981 GB, free: 3.605 MB / 1.389 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03455/3.323, allocations: 14.31 MB / 1.995 GB, free: 5.227 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03664/3.36, allocations: 18.92 MB / 2.013 GB, free: 2.195 MB / 1.42 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01341/3.374, allocations: 5.52 MB / 2.019 GB, free: 12.66 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.03045/3.404, allocations: 8.908 MB / 2.027 GB, free: 3.789 MB / 1.436 GB Notification: Performance of Backend: time 2.364e-06/3.404, allocations: 0 / 2.027 GB, free: 3.789 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.08283/3.487, allocations: 19.79 MB / 2.047 GB, free: 36 kB / 1.451 GB Notification: Performance of SimCode: time 0.1108/3.598, allocations: 36.04 MB / 2.082 GB, free: 12.14 MB / 1.498 GB Notification: Performance of Templates: time 1.579/5.177, allocations: 333.2 MB / 2.407 GB, free: 338.2 MB / 1.561 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)