Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001477/0.001477, allocations: 116.3 kB / 16.42 MB, free: 6.504 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.001665/0.001665, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8009/0.8023, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.105/0.9073, allocations: 112.1 MB / 1.277 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04235/0.9497, allocations: 32.03 MB / 1.308 GB, free: 3.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005788/0.9556, allocations: 155.1 kB / 1.308 GB, free: 3.078 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005545/0.9611, allocations: 1.859 MB / 1.31 GB, free: 1.207 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01383/0.975, allocations: 4.842 MB / 1.315 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.009576/0.9846, allocations: 3.596 MB / 1.318 GB, free: 8.762 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.04896/1.034, allocations: 47.74 MB / 1.365 GB, free: 8.902 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03282/1.066, allocations: 23.75 MB / 1.388 GB, free: 0.9922 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03192/1.098, allocations: 16.36 MB / 1.404 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02291/1.121, allocations: 14.03 MB / 1.418 GB, free: 2.59 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.006959/1.128, allocations: 2.434 MB / 1.42 GB, free: 160 kB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/1.144, allocations: 4.746 MB / 1.425 GB, free: 11.41 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.01025/1.154, allocations: 5.501 MB / 1.43 GB, free: 5.895 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.02095/1.175, allocations: 11.1 MB / 1.441 GB, free: 10.75 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.04329/1.218, allocations: 34.67 MB / 1.475 GB, free: 7.977 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.218, allocations: 0 / 1.475 GB, free: 7.977 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.763e-06/1.218, allocations: 0 / 1.475 GB, free: 7.977 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.001082/1.219, allocations: 0 / 1.475 GB, free: 7.977 MB / 1.201 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.05317/1.273, allocations: 20.31 MB / 1.495 GB, free: 3.504 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/1.273, allocations: 8.922 kB / 1.495 GB, free: 3.496 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/1.283, allocations: 2.063 MB / 1.497 GB, free: 1.422 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03126/1.314, allocations: 16.43 MB / 1.513 GB, free: 0.9102 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008361/1.315, allocations: 1.006 MB / 1.514 GB, free: 15.9 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004575/1.32, allocations: 1.336 MB / 1.515 GB, free: 14.56 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03999/1.36, allocations: 20.26 MB / 1.535 GB, free: 9.742 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004436/1.36, allocations: 35.7 kB / 1.535 GB, free: 9.707 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/1.363, allocations: 0.543 MB / 1.535 GB, free: 9.164 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003325/1.363, allocations: 391.8 kB / 1.536 GB, free: 8.781 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03792/1.401, allocations: 18.15 MB / 1.553 GB, free: 6.609 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 1.21/2.611, allocations: 86.61 MB / 1.638 GB, free: 283.5 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01634/2.627, allocations: 12.96 MB / 1.651 GB, free: 271.2 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009121/2.636, allocations: 7.395 MB / 1.658 GB, free: 263.8 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.04607/2.682, allocations: 26.95 MB / 1.684 GB, free: 236.2 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008573/2.691, allocations: 6.057 MB / 1.69 GB, free: 230.1 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005049/2.696, allocations: 0.8504 MB / 1.691 GB, free: 229.5 MB / 1.279 GB Notification: Performance of pre-optimization done (n=772): time 1.864e-05/2.696, allocations: 0 / 1.691 GB, free: 229.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=772): time 0.0966/2.793, allocations: 32.42 MB / 1.723 GB, free: 196.9 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/2.793, allocations: 159.1 kB / 1.723 GB, free: 196.8 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01734/2.81, allocations: 12.84 MB / 1.735 GB, free: 184.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.00193/2.812, allocations: 205.7 kB / 1.736 GB, free: 183.8 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.005699/2.818, allocations: 7.196 MB / 1.743 GB, free: 177.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003176/2.821, allocations: 2.824 MB / 1.745 GB, free: 174.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003676/2.825, allocations: 2.326 MB / 1.748 GB, free: 172.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.688e-05/2.825, allocations: 301.1 kB / 1.748 GB, free: 172.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008257/2.833, allocations: 6.329 MB / 1.754 GB, free: 165.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/2.843, allocations: 9.594 MB / 1.763 GB, free: 154.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01871/2.862, allocations: 15.96 MB / 1.779 GB, free: 137.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.029e-05/2.862, allocations: 35.94 kB / 1.779 GB, free: 137.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.03375/2.896, allocations: 18.94 MB / 1.798 GB, free: 118.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/2.896, allocations: 77.73 kB / 1.798 GB, free: 118.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/2.896, allocations: 104 kB / 1.798 GB, free: 118.2 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06392/2.96, allocations: 9.11 MB / 1.807 GB, free: 109.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/2.97, allocations: 2.449 MB / 1.809 GB, free: 106.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/2.98, allocations: 10.84 MB / 1.82 GB, free: 95.52 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/2.993, allocations: 0.7321 MB / 1.82 GB, free: 94.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/2.995, allocations: 0.5155 MB / 1.821 GB, free: 94.28 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01697/3.012, allocations: 11.73 MB / 1.832 GB, free: 82.54 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01016/3.022, allocations: 9.59 MB / 1.842 GB, free: 71.56 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0185/3.04, allocations: 15.94 MB / 1.857 GB, free: 54.15 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.577e-05/3.041, allocations: 28 kB / 1.857 GB, free: 54.12 MB / 1.279 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.0326/3.073, allocations: 18.93 MB / 1.876 GB, free: 35.07 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-05/3.073, allocations: 81.62 kB / 1.876 GB, free: 34.99 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/3.073, allocations: 96 kB / 1.876 GB, free: 34.89 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06318/3.137, allocations: 9.121 MB / 1.885 GB, free: 25.76 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/3.147, allocations: 2.453 MB / 1.887 GB, free: 23.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/3.157, allocations: 10.82 MB / 1.898 GB, free: 12.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/3.169, allocations: 0.7162 MB / 1.898 GB, free: 11.48 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002181/3.171, allocations: 0.5272 MB / 1.899 GB, free: 10.96 MB / 1.279 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.002389/3.173, allocations: 0.8527 MB / 1.9 GB, free: 10.16 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003553/3.177, allocations: 1.227 MB / 1.901 GB, free: 8.922 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/3.198, allocations: 13.39 MB / 1.914 GB, free: 11.52 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01685/3.215, allocations: 11.04 MB / 1.925 GB, free: 404 kB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/3.215, allocations: 0 / 1.925 GB, free: 404 kB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007153/3.222, allocations: 2.831 MB / 1.928 GB, free: 13.54 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003218/3.225, allocations: 156 kB / 1.928 GB, free: 13.39 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008087/3.233, allocations: 466.8 kB / 1.928 GB, free: 12.94 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/3.235, allocations: 461.5 kB / 1.929 GB, free: 12.48 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02808/3.263, allocations: 14.33 MB / 1.943 GB, free: 14.1 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02815/3.291, allocations: 18.99 MB / 1.961 GB, free: 11.01 MB / 1.342 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007455/3.298, allocations: 5.518 MB / 1.967 GB, free: 5.477 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01528/3.314, allocations: 8.904 MB / 1.975 GB, free: 12.61 MB / 1.358 GB Notification: Performance of Backend: time 7.31e-07/3.314, allocations: 0 / 1.975 GB, free: 12.61 MB / 1.358 GB Notification: Performance of simCode: created initialization part: time 0.04739/3.361, allocations: 19.8 MB / 1.995 GB, free: 8.867 MB / 1.373 GB Notification: Performance of SimCode: time 0.07059/3.432, allocations: 36.55 MB / 2.03 GB, free: 4.461 MB / 1.404 GB Notification: Performance of Templates: time 1.579/5.011, allocations: 333.2 MB / 2.356 GB, free: 308.1 MB / 1.483 GB make -j1 -f Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)