Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001221/0.001221, allocations: 117.4 kB / 16.81 MB, free: 5.754 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.00117/0.00117, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.505/1.505, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.712/2.712, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 64.55 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.309, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.1171/0.4262, allocations: 112.9 MB / 1.372 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04532/0.4715, allocations: 32.16 MB / 1.404 GB, free: 11.44 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005312/0.4768, allocations: 155.1 kB / 1.404 GB, free: 11.29 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005986/0.4828, allocations: 1.867 MB / 1.406 GB, free: 9.406 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.4966, allocations: 4.853 MB / 1.41 GB, free: 4.531 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.009488/0.5061, allocations: 3.643 MB / 1.414 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.05026/0.5564, allocations: 47.79 MB / 1.461 GB, free: 0.9844 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02896/0.5853, allocations: 19.66 MB / 1.48 GB, free: 13.16 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02997/0.6153, allocations: 16.41 MB / 1.496 GB, free: 12.79 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02476/0.64, allocations: 14.62 MB / 1.51 GB, free: 14.11 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.007384/0.6474, allocations: 2.438 MB / 1.513 GB, free: 11.68 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01536/0.6628, allocations: 4.793 MB / 1.517 GB, free: 6.879 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.01048/0.6733, allocations: 5.686 MB / 1.523 GB, free: 1.176 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.02295/0.6962, allocations: 11.1 MB / 1.534 GB, free: 6.031 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 1.34/2.037, allocations: 34.69 MB / 1.568 GB, free: 92.72 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/2.037, allocations: 0.5 kB / 1.568 GB, free: 92.72 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.235e-06/2.037, allocations: 4.344 kB / 1.568 GB, free: 92.72 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.001422/2.038, allocations: 0 / 1.568 GB, free: 92.72 MB / 1.264 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.07161/2.11, allocations: 20.27 MB / 1.587 GB, free: 85.98 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/2.11, allocations: 10 kB / 1.587 GB, free: 85.98 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01875/2.128, allocations: 2.065 MB / 1.589 GB, free: 84.99 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03797/2.166, allocations: 16.44 MB / 1.605 GB, free: 82.84 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001176/2.168, allocations: 1.006 MB / 1.606 GB, free: 82.82 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008338/2.176, allocations: 1.337 MB / 1.608 GB, free: 82.81 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06382/2.24, allocations: 20.27 MB / 1.627 GB, free: 80.95 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009571/2.241, allocations: 38.23 kB / 1.628 GB, free: 80.95 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007244/2.248, allocations: 0.5418 MB / 1.628 GB, free: 80.95 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004467/2.248, allocations: 387.4 kB / 1.628 GB, free: 80.94 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04265/2.291, allocations: 18.18 MB / 1.646 GB, free: 80.83 MB / 1.264 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.1385/2.43, allocations: 86.61 MB / 1.731 GB, free: 6.43 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02309/2.453, allocations: 12.26 MB / 1.743 GB, free: 10.27 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01685/2.47, allocations: 6.837 MB / 1.749 GB, free: 3.43 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.0748/2.544, allocations: 26.99 MB / 1.776 GB, free: 7.516 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01624/2.561, allocations: 6.072 MB / 1.782 GB, free: 1.395 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00899/2.57, allocations: 0.8748 MB / 1.783 GB, free: 0.5156 MB / 1.311 GB Notification: Performance of pre-optimization done (n=772): time 2.581e-05/2.57, allocations: 4 kB / 1.783 GB, free: 0.5117 MB / 1.311 GB Notification: Performance of matching and sorting (n=772): time 0.1233/2.693, allocations: 32.35 MB / 1.814 GB, free: 48 kB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/2.693, allocations: 155.1 kB / 1.814 GB, free: 15.88 MB / 1.358 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03006/2.723, allocations: 12.84 MB / 1.827 GB, free: 3.066 MB / 1.358 GB Notification: Performance of collectPreVariables (initialization): time 0.002992/2.726, allocations: 201.7 kB / 1.827 GB, free: 2.863 MB / 1.358 GB Notification: Performance of collectInitialEqns (initialization): time 0.01056/2.737, allocations: 7.212 MB / 1.834 GB, free: 11.69 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.005536/2.742, allocations: 2.818 MB / 1.837 GB, free: 8.906 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007629/2.75, allocations: 2.326 MB / 1.839 GB, free: 6.57 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001349/2.75, allocations: 305.1 kB / 1.839 GB, free: 6.27 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0121/2.762, allocations: 6.326 MB / 1.846 GB, free: 15.93 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01689/2.779, allocations: 9.594 MB / 1.855 GB, free: 5.004 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02859/2.808, allocations: 15.96 MB / 1.87 GB, free: 3.988 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/2.808, allocations: 28 kB / 1.871 GB, free: 3.961 MB / 1.404 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.04712/2.855, allocations: 18.87 MB / 1.889 GB, free: 1.578 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/2.855, allocations: 78.17 kB / 1.889 GB, free: 1.5 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/2.855, allocations: 108 kB / 1.889 GB, free: 1.395 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06622/2.921, allocations: 9.106 MB / 1.898 GB, free: 8.27 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01174/2.933, allocations: 2.457 MB / 1.9 GB, free: 5.969 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/2.949, allocations: 10.82 MB / 1.911 GB, free: 10.93 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01337/2.963, allocations: 0.732 MB / 1.912 GB, free: 10.2 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002984/2.966, allocations: 0.5194 MB / 1.912 GB, free: 9.676 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02615/2.992, allocations: 11.73 MB / 1.924 GB, free: 13.93 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01847/3.01, allocations: 9.587 MB / 1.933 GB, free: 3.012 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0313/3.042, allocations: 15.95 MB / 1.949 GB, free: 2.004 MB / 1.483 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.927e-05/3.042, allocations: 28 kB / 1.949 GB, free: 1.977 MB / 1.483 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.04959/3.091, allocations: 18.86 MB / 1.967 GB, free: 15.6 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/3.092, allocations: 73.7 kB / 1.967 GB, free: 15.52 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001987/3.092, allocations: 100.1 kB / 1.967 GB, free: 15.43 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06599/3.158, allocations: 9.114 MB / 1.976 GB, free: 6.297 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/3.169, allocations: 2.454 MB / 1.979 GB, free: 4 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/3.188, allocations: 10.82 MB / 1.989 GB, free: 8.957 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01353/3.201, allocations: 0.718 MB / 1.99 GB, free: 8.238 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003009/3.204, allocations: 0.5272 MB / 1.99 GB, free: 7.711 MB / 1.529 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.005117/3.209, allocations: 0.8596 MB / 1.991 GB, free: 7.004 MB / 1.529 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005585/3.215, allocations: 1.227 MB / 1.992 GB, free: 5.77 MB / 1.529 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02714/3.242, allocations: 13.31 MB / 2.005 GB, free: 8.441 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02034/3.263, allocations: 10.97 MB / 2.016 GB, free: 13.41 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/3.263, allocations: 0 / 2.016 GB, free: 13.41 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009459/3.272, allocations: 2.832 MB / 2.019 GB, free: 10.55 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004818/3.277, allocations: 148 kB / 2.019 GB, free: 10.41 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01018/3.287, allocations: 475.5 kB / 2.019 GB, free: 9.945 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002194/3.289, allocations: 465.4 kB / 2.02 GB, free: 9.488 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04012/3.329, allocations: 14.33 MB / 2.034 GB, free: 11.27 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04177/3.371, allocations: 18.98 MB / 2.052 GB, free: 8.195 MB / 1.592 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009425/3.381, allocations: 5.236 MB / 2.057 GB, free: 2.945 MB / 1.592 GB Notification: Performance of sorting global known variables: time 0.01681/3.397, allocations: 8.911 MB / 2.066 GB, free: 10.07 MB / 1.608 GB Notification: Performance of Backend: time 4.51e-07/3.397, allocations: 0 / 2.066 GB, free: 10.07 MB / 1.608 GB Notification: Performance of simCode: created initialization part: time 0.04968/3.447, allocations: 18.77 MB / 2.085 GB, free: 7.996 MB / 1.623 GB Notification: Performance of SimCode: time 0.08181/3.529, allocations: 36.75 MB / 2.12 GB, free: 3.414 MB / 1.654 GB Notification: Performance of Templates: time 1.018/4.547, allocations: 339.8 MB / 2.452 GB, free: 467.6 MB / 1.717 GB make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)