Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 215.1 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.137/3.137, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 68.31 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.1164/0.4627, allocations: 103.2 MB / 1.428 GB, free: 9.383 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.04747/0.5101, allocations: 29.99 MB / 1.457 GB, free: 11.32 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00596/0.5161, allocations: 214.2 kB / 1.457 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006226/0.5223, allocations: 1.812 MB / 1.459 GB, free: 9.285 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01584/0.5381, allocations: 4.914 MB / 1.464 GB, free: 4.352 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.5483, allocations: 3.716 MB / 1.468 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.05121/0.5995, allocations: 48.93 MB / 1.515 GB, free: 15.59 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02551/0.625, allocations: 15.94 MB / 1.531 GB, free: 15.5 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03574/0.6608, allocations: 17.14 MB / 1.548 GB, free: 14.4 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0267/0.6875, allocations: 14.48 MB / 1.562 GB, free: 15.86 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.008147/0.6956, allocations: 2.438 MB / 1.564 GB, free: 13.42 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01654/0.7122, allocations: 4.41 MB / 1.568 GB, free: 9.008 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.01168/0.7238, allocations: 5.69 MB / 1.574 GB, free: 3.301 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.02513/0.749, allocations: 9.044 MB / 1.583 GB, free: 10.22 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 1.554/2.303, allocations: 34.97 MB / 1.617 GB, free: 86.98 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/2.303, allocations: 0.9062 kB / 1.617 GB, free: 86.98 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.304e-06/2.303, allocations: 0 / 1.617 GB, free: 86.98 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.001389/2.304, allocations: 0 / 1.617 GB, free: 86.98 MB / 1.295 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.07626/2.38, allocations: 20.21 MB / 1.637 GB, free: 80.32 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/2.38, allocations: 11.48 kB / 1.637 GB, free: 80.32 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0176/2.398, allocations: 2.123 MB / 1.639 GB, free: 79.33 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04352/2.441, allocations: 16.67 MB / 1.655 GB, free: 77.12 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001172/2.443, allocations: 1.001 MB / 1.656 GB, free: 77.09 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008004/2.451, allocations: 1.335 MB / 1.657 GB, free: 77.08 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06103/2.512, allocations: 22.56 MB / 1.679 GB, free: 72.46 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008328/2.512, allocations: 35.05 kB / 1.679 GB, free: 72.45 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007561/2.52, allocations: 0.5474 MB / 1.68 GB, free: 72.45 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004452/2.52, allocations: 389 kB / 1.68 GB, free: 72.45 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04272/2.563, allocations: 18.16 MB / 1.698 GB, free: 72.34 MB / 1.295 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.1342/2.697, allocations: 65.07 MB / 1.762 GB, free: 29.92 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/2.715, allocations: 12.23 MB / 1.774 GB, free: 17.84 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01101/2.726, allocations: 6.844 MB / 1.78 GB, free: 11.01 MB / 1.295 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.05986/2.786, allocations: 19.99 MB / 1.8 GB, free: 7.211 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01608/2.802, allocations: 8.343 MB / 1.808 GB, free: 14.27 MB / 1.326 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007798/2.81, allocations: 0.7887 MB / 1.809 GB, free: 13.47 MB / 1.326 GB Notification: Performance of pre-optimization done (n=772): time 2.227e-05/2.81, allocations: 0 / 1.809 GB, free: 13.47 MB / 1.326 GB Notification: Performance of matching and sorting (n=772): time 0.1204/2.93, allocations: 32.07 MB / 1.84 GB, free: 13.35 MB / 1.358 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/2.93, allocations: 163.1 kB / 1.84 GB, free: 13.17 MB / 1.358 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0253/2.955, allocations: 12.09 MB / 1.852 GB, free: 1.125 MB / 1.358 GB Notification: Performance of collectPreVariables (initialization): time 0.002797/2.958, allocations: 205.7 kB / 1.852 GB, free: 0.918 MB / 1.358 GB Notification: Performance of collectInitialEqns (initialization): time 0.01035/2.969, allocations: 7.219 MB / 1.859 GB, free: 9.762 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.005257/2.974, allocations: 2.825 MB / 1.862 GB, free: 6.973 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006745/2.981, allocations: 2.327 MB / 1.864 GB, free: 4.637 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 0.0001321/2.981, allocations: 301.1 kB / 1.865 GB, free: 4.34 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01214/2.993, allocations: 6.361 MB / 1.871 GB, free: 13.96 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01688/3.01, allocations: 9.973 MB / 1.881 GB, free: 2.566 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02818/3.038, allocations: 15.96 MB / 1.896 GB, free: 1.555 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/3.038, allocations: 28 kB / 1.896 GB, free: 1.527 MB / 1.404 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.0458/3.084, allocations: 18.82 MB / 1.915 GB, free: 15.2 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/3.084, allocations: 73.7 kB / 1.915 GB, free: 15.12 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001811/3.084, allocations: 100 kB / 1.915 GB, free: 15.02 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.071/3.155, allocations: 9.11 MB / 1.924 GB, free: 5.914 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0119/3.167, allocations: 2.458 MB / 1.926 GB, free: 3.613 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/3.181, allocations: 10.49 MB / 1.936 GB, free: 9.02 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01233/3.194, allocations: 0.7223 MB / 1.937 GB, free: 8.297 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002675/3.196, allocations: 0.5233 MB / 1.937 GB, free: 7.773 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02462/3.221, allocations: 11.75 MB / 1.949 GB, free: 12.01 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01753/3.239, allocations: 9.972 MB / 1.959 GB, free: 0.6094 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0278/3.266, allocations: 15.94 MB / 1.974 GB, free: 15.61 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.732e-05/3.266, allocations: 30.34 kB / 1.974 GB, free: 15.58 MB / 1.498 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.04511/3.312, allocations: 18.82 MB / 1.993 GB, free: 13.25 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/3.312, allocations: 74.91 kB / 1.993 GB, free: 13.17 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/3.312, allocations: 96 kB / 1.993 GB, free: 13.07 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06971/3.381, allocations: 9.106 MB / 2.002 GB, free: 3.965 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/3.393, allocations: 2.457 MB / 2.004 GB, free: 1.664 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/3.408, allocations: 10.49 MB / 2.014 GB, free: 7.062 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0128/3.421, allocations: 0.7101 MB / 2.015 GB, free: 6.352 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002717/3.423, allocations: 0.5269 MB / 2.016 GB, free: 5.828 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.003192/3.426, allocations: 0.856 MB / 2.016 GB, free: 5.121 MB / 1.529 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004632/3.431, allocations: 1.153 MB / 2.017 GB, free: 3.961 MB / 1.529 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02878/3.46, allocations: 13.25 MB / 2.03 GB, free: 6.703 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01931/3.479, allocations: 10.98 MB / 2.041 GB, free: 11.68 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/3.479, allocations: 4 kB / 2.041 GB, free: 11.68 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0104/3.49, allocations: 2.783 MB / 2.044 GB, free: 8.879 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004195/3.494, allocations: 160 kB / 2.044 GB, free: 8.723 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00988/3.504, allocations: 463.5 kB / 2.044 GB, free: 8.27 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001927/3.506, allocations: 489.2 kB / 2.045 GB, free: 7.789 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03339/3.539, allocations: 14.25 MB / 2.059 GB, free: 9.656 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03297/3.572, allocations: 18.94 MB / 2.077 GB, free: 6.625 MB / 1.592 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009066/3.581, allocations: 5.231 MB / 2.082 GB, free: 1.379 MB / 1.592 GB Notification: Performance of sorting global known variables: time 0.01594/3.597, allocations: 8.228 MB / 2.09 GB, free: 9.203 MB / 1.608 GB Notification: Performance of Backend: time 8.62e-07/3.597, allocations: 4 kB / 2.09 GB, free: 9.199 MB / 1.608 GB Notification: Performance of simCode: created initialization part: time 0.04632/3.643, allocations: 18.8 MB / 2.109 GB, free: 7.117 MB / 1.623 GB Notification: Performance of SimCode: time 0.07709/3.72, allocations: 35.77 MB / 2.144 GB, free: 3.531 MB / 1.654 GB Notification: Performance of Templates: time 1.175/4.896, allocations: 340.3 MB / 2.476 GB, free: 0.5102 GB / 1.764 GB " [Timeout remaining time 295] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 21.679207868997764] Failed to read output from testmodel.py, exit status != 0: 4.90460745299788 4.914068865 2.6087954349999998 Calling exit ...