Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001286/0.001286, allocations: 112.5 kB / 16.42 MB, free: 6.445 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.001343/0.001343, allocations: 185.7 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.363/1.363, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 59.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9082/0.9097, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.132/1.042, allocations: 112.1 MB / 1.198 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.05222/1.094, allocations: 32.04 MB / 1.229 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007018/1.101, allocations: 152.3 kB / 1.23 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006617/1.108, allocations: 1.852 MB / 1.231 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01648/1.124, allocations: 4.844 MB / 1.236 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01152/1.136, allocations: 3.599 MB / 1.24 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.05945/1.195, allocations: 47.79 MB / 1.286 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03526/1.231, allocations: 23.79 MB / 1.309 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03491/1.266, allocations: 16.37 MB / 1.325 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02941/1.295, allocations: 14.03 MB / 1.339 GB, free: 13.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.009069/1.304, allocations: 2.438 MB / 1.342 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02081/1.325, allocations: 4.738 MB / 1.346 GB, free: 5.832 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.01158/1.337, allocations: 5.505 MB / 1.352 GB, free: 320 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.02843/1.365, allocations: 11.09 MB / 1.362 GB, free: 5.176 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.05533/1.42, allocations: 34.57 MB / 1.396 GB, free: 2.508 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/1.421, allocations: 0 / 1.396 GB, free: 2.508 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.338e-06/1.421, allocations: 4 kB / 1.396 GB, free: 2.504 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.001292/1.422, allocations: 0 / 1.396 GB, free: 2.504 MB / 1.123 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.05884/1.481, allocations: 19.83 MB / 1.416 GB, free: 14.54 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.481, allocations: 12.03 kB / 1.416 GB, free: 14.52 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/1.492, allocations: 1.975 MB / 1.417 GB, free: 12.53 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0358/1.528, allocations: 16.34 MB / 1.433 GB, free: 12.09 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001125/1.529, allocations: 1.002 MB / 1.434 GB, free: 11.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005376/1.534, allocations: 1.34 MB / 1.436 GB, free: 9.746 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04812/1.583, allocations: 20.25 MB / 1.455 GB, free: 4.934 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005785/1.583, allocations: 43.66 kB / 1.456 GB, free: 4.891 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004364/1.588, allocations: 0.543 MB / 1.456 GB, free: 4.348 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004396/1.588, allocations: 387.8 kB / 1.456 GB, free: 3.969 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03893/1.627, allocations: 18.15 MB / 1.474 GB, free: 1.793 MB / 1.201 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.1446/1.772, allocations: 86.47 MB / 1.559 GB, free: 6.652 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02339/1.795, allocations: 12.97 MB / 1.571 GB, free: 9.68 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01226/1.807, allocations: 7.404 MB / 1.578 GB, free: 2.266 MB / 1.311 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 1.056/2.864, allocations: 26.92 MB / 1.605 GB, free: 399.6 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01189/2.876, allocations: 6.051 MB / 1.611 GB, free: 397.4 MB / 1.311 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009737/2.885, allocations: 0.8253 MB / 1.611 GB, free: 397.3 MB / 1.311 GB Notification: Performance of pre-optimization done (n=772): time 9.162e-05/2.885, allocations: 0 / 1.611 GB, free: 397.3 MB / 1.311 GB Notification: Performance of matching and sorting (n=772): time 0.1117/2.997, allocations: 32.37 MB / 1.643 GB, free: 389.3 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/2.997, allocations: 157.1 kB / 1.643 GB, free: 389.2 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02679/3.024, allocations: 12.83 MB / 1.656 GB, free: 382.7 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.002254/3.026, allocations: 198.7 kB / 1.656 GB, free: 382.5 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.007382/3.034, allocations: 7.033 MB / 1.663 GB, free: 376.6 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.00384/3.038, allocations: 2.691 MB / 1.665 GB, free: 374.3 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005417/3.043, allocations: 2.322 MB / 1.668 GB, free: 373 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 4.761e-05/3.043, allocations: 305.1 kB / 1.668 GB, free: 372.7 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008085/3.051, allocations: 6.333 MB / 1.674 GB, free: 369.3 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/3.062, allocations: 9.589 MB / 1.684 GB, free: 361.7 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02005/3.082, allocations: 15.96 MB / 1.699 GB, free: 347.3 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/3.082, allocations: 28 kB / 1.699 GB, free: 347.3 MB / 1.311 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.04253/3.124, allocations: 18.89 MB / 1.718 GB, free: 328.3 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/3.125, allocations: 73.7 kB / 1.718 GB, free: 328.2 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/3.125, allocations: 96 kB / 1.718 GB, free: 328.1 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05997/3.185, allocations: 9.118 MB / 1.727 GB, free: 318.9 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/3.195, allocations: 2.449 MB / 1.729 GB, free: 316.5 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/3.208, allocations: 10.81 MB / 1.74 GB, free: 305.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0137/3.221, allocations: 0.7254 MB / 1.74 GB, free: 304.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002888/3.224, allocations: 0.5272 MB / 1.741 GB, free: 304.1 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02388/3.248, allocations: 11.72 MB / 1.752 GB, free: 292.4 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01537/3.264, allocations: 9.598 MB / 1.762 GB, free: 281.4 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02314/3.287, allocations: 15.94 MB / 1.777 GB, free: 264 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001111/3.287, allocations: 28 kB / 1.777 GB, free: 264 MB / 1.311 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.04067/3.328, allocations: 18.88 MB / 1.796 GB, free: 245 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/3.328, allocations: 77.69 kB / 1.796 GB, free: 244.9 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/3.328, allocations: 100 kB / 1.796 GB, free: 244.8 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05956/3.387, allocations: 9.114 MB / 1.805 GB, free: 235.7 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/3.398, allocations: 2.453 MB / 1.807 GB, free: 233.2 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/3.411, allocations: 10.81 MB / 1.818 GB, free: 222.1 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01302/3.424, allocations: 0.7217 MB / 1.818 GB, free: 221.4 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002713/3.426, allocations: 0.5155 MB / 1.819 GB, free: 220.9 MB / 1.311 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.0046/3.431, allocations: 0.8644 MB / 1.82 GB, free: 220 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005243/3.436, allocations: 1.169 MB / 1.821 GB, free: 218.8 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02792/3.464, allocations: 13.37 MB / 1.834 GB, free: 205.4 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0179/3.482, allocations: 11.05 MB / 1.845 GB, free: 194.3 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/3.482, allocations: 4 kB / 1.845 GB, free: 194.3 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008878/3.491, allocations: 2.775 MB / 1.847 GB, free: 191.5 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004584/3.496, allocations: 152 kB / 1.848 GB, free: 191.3 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0101/3.506, allocations: 475.3 kB / 1.848 GB, free: 190.9 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001903/3.508, allocations: 461.5 kB / 1.849 GB, free: 190.4 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03144/3.539, allocations: 14.31 MB / 1.863 GB, free: 176.2 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0335/3.573, allocations: 18.92 MB / 1.881 GB, free: 157.2 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00801/3.581, allocations: 5.514 MB / 1.886 GB, free: 151.6 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.01707/3.598, allocations: 8.915 MB / 1.895 GB, free: 142.8 MB / 1.311 GB Notification: Performance of Backend: time 1.854e-06/3.598, allocations: 0 / 1.895 GB, free: 142.8 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.04892/3.647, allocations: 19.76 MB / 1.914 GB, free: 123.1 MB / 1.311 GB Notification: Performance of SimCode: time 0.07451/3.721, allocations: 36.06 MB / 1.95 GB, free: 87.29 MB / 1.311 GB Notification: Performance of Templates: time 1.367/5.088, allocations: 333.2 MB / 2.275 GB, free: 330.7 MB / 1.373 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)