Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.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.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senT1InlPum.T|senT1OutPum.T|senT2InlPum.T|senT2OutPum.T|hexPum.m1_flow|hexPum.m2_flow|hexPum.m1_flow_nominal|hexPum.m2_flow_nominal|hexPum.con.y1|hexPum.con.yVal2|hexPum.con.yPum2|senT1InlVal.T|senT1OutVal.T|senT2InlVal.T|senT2OutVal.T|hexVal.m1_flow|hexVal.m2_flow|hexVal.m1_flow_nominal|hexVal.m2_flow_nominal|hexVal.con.y1|hexVal.con.yVal2|hexVal.con.yPum2",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger") translateModel(Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senT1InlPum.T|senT1OutPum.T|senT2InlPum.T|senT2OutPum.T|hexPum.m1_flow|hexPum.m2_flow|hexPum.m1_flow_nominal|hexPum.m2_flow_nominal|hexPum.con.y1|hexPum.con.yVal2|hexPum.con.yPum2|senT1InlVal.T|senT1OutVal.T|senT2InlVal.T|senT2OutVal.T|hexVal.m1_flow|hexVal.m2_flow|hexVal.m1_flow_nominal|hexVal.m2_flow_nominal|hexVal.con.y1|hexVal.con.yVal2|hexVal.con.yPum2",fileNamePrefix="Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.002219/0.002219, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.535/1.535, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 59.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger): time 0.406/1.47, allocations: 348.1 MB / 1.548 GB, free: 460 kB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 1.273/2.743, allocations: 78.62 MB / 1.625 GB, free: 42.08 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02401/2.767, allocations: 427.6 kB / 1.626 GB, free: 42.08 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01912/2.786, allocations: 5.335 MB / 1.631 GB, free: 41.98 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04467/2.831, allocations: 11.51 MB / 1.642 GB, free: 41.54 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02959/2.86, allocations: 10.04 MB / 1.652 GB, free: 41.26 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07196/2.932, allocations: 40.64 MB / 1.691 GB, free: 37.86 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02316/2.956, allocations: 8.363 MB / 1.7 GB, free: 33.36 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03307/2.989, allocations: 10.12 MB / 1.71 GB, free: 28.71 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01764/3.006, allocations: 6.804 MB / 1.716 GB, free: 25.2 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.005875/3.012, allocations: 1.043 MB / 1.717 GB, free: 24.89 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02296/3.035, allocations: 6.613 MB / 1.724 GB, free: 18.84 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.007431/3.043, allocations: 2.89 MB / 1.726 GB, free: 16.04 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01468/3.057, allocations: 5.712 MB / 1.732 GB, free: 10.35 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.04231/3.1, allocations: 18.75 MB / 1.75 GB, free: 8.191 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/3.1, allocations: 0 / 1.75 GB, free: 8.191 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.395e-06/3.1, allocations: 0 / 1.75 GB, free: 8.191 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000642/3.101, allocations: 0 / 1.75 GB, free: 8.191 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: 1259 * Number of variables: 1259 Notification: Performance of Generate backend data structure: time 0.04047/3.141, allocations: 11.13 MB / 1.761 GB, free: 13.02 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/3.141, allocations: 8.031 kB / 1.761 GB, free: 13.02 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/3.156, allocations: 2.228 MB / 1.763 GB, free: 10.77 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03152/3.187, allocations: 11.81 MB / 1.775 GB, free: 15.14 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006204/3.188, allocations: 405.8 kB / 1.775 GB, free: 14.74 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002546/3.19, allocations: 0.535 MB / 1.776 GB, free: 14.21 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02165/3.212, allocations: 6.631 MB / 1.782 GB, free: 7.41 MB / 1.326 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002409/3.212, allocations: 7.938 kB / 1.782 GB, free: 7.402 MB / 1.326 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001994/3.214, allocations: 204 kB / 1.783 GB, free: 7.203 MB / 1.326 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/3.214, allocations: 120 kB / 1.783 GB, free: 7.086 MB / 1.326 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/3.234, allocations: 5.806 MB / 1.788 GB, free: 1.27 MB / 1.326 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.0738/3.308, allocations: 32.79 MB / 1.82 GB, free: 14.69 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/3.32, allocations: 4.121 MB / 1.824 GB, free: 10.58 MB / 1.373 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005733/3.326, allocations: 2.224 MB / 1.827 GB, free: 8.352 MB / 1.373 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02811/3.354, allocations: 11.73 MB / 1.838 GB, free: 11.85 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007803/3.362, allocations: 2.857 MB / 1.841 GB, free: 8.941 MB / 1.389 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00477/3.367, allocations: 430.1 kB / 1.841 GB, free: 8.523 MB / 1.389 GB Notification: Performance of pre-optimization done (n=330): time 1.846e-05/3.367, allocations: 0 / 1.841 GB, free: 8.523 MB / 1.389 GB Notification: Performance of matching and sorting (n=330): time 0.0283/3.395, allocations: 7.864 MB / 1.849 GB, free: 0.5156 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/3.395, allocations: 179 kB / 1.849 GB, free: 316 kB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02453/3.42, allocations: 8.15 MB / 1.857 GB, free: 8.227 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.001436/3.421, allocations: 121.7 kB / 1.857 GB, free: 8.102 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.006848/3.428, allocations: 3.911 MB / 1.861 GB, free: 4.207 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.002314/3.431, allocations: 1.102 MB / 1.862 GB, free: 3.113 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004505/3.435, allocations: 1.327 MB / 1.863 GB, free: 1.777 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.0001263/3.435, allocations: 305.1 kB / 1.864 GB, free: 1.477 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008051/3.443, allocations: 3.516 MB / 1.867 GB, free: 13.95 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009751/3.453, allocations: 4.834 MB / 1.872 GB, free: 8.621 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01814/3.471, allocations: 7.923 MB / 1.879 GB, free: 236 kB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-05/3.471, allocations: 12 kB / 1.879 GB, free: 224 kB / 1.42 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02758/3.499, allocations: 9.773 MB / 1.889 GB, free: 6.363 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/3.499, allocations: 120.1 kB / 1.889 GB, free: 6.23 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.005e-05/3.499, allocations: 32 kB / 1.889 GB, free: 6.199 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/3.501, allocations: 487 kB / 1.89 GB, free: 5.711 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007065/3.509, allocations: 1.283 MB / 1.891 GB, free: 4.426 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/3.514, allocations: 4.783 MB / 1.896 GB, free: 15.47 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009105/3.523, allocations: 379.8 kB / 1.896 GB, free: 15.1 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001741/3.524, allocations: 315.8 kB / 1.896 GB, free: 14.79 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01336/3.538, allocations: 4.859 MB / 1.901 GB, free: 9.934 MB / 1.451 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01002/3.548, allocations: 4.482 MB / 1.905 GB, free: 4.938 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01758/3.566, allocations: 7.221 MB / 1.912 GB, free: 13.23 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.959e-05/3.566, allocations: 8 kB / 1.912 GB, free: 13.23 MB / 1.467 GB Notification: Performance of matching and sorting (n=763) (initialization_lambda0): time 0.03023/3.596, allocations: 9.027 MB / 1.921 GB, free: 4.102 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/3.596, allocations: 121.3 kB / 1.921 GB, free: 3.965 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/3.596, allocations: 28 kB / 1.921 GB, free: 3.938 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/3.598, allocations: 443 kB / 1.922 GB, free: 3.492 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006554/3.605, allocations: 1.268 MB / 1.923 GB, free: 2.223 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/3.61, allocations: 4.871 MB / 1.928 GB, free: 13.03 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008356/3.618, allocations: 408.1 kB / 1.928 GB, free: 12.63 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/3.62, allocations: 291.9 kB / 1.928 GB, free: 12.35 MB / 1.482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 44 (hexPum.hex.flowRegime_nominal,hexPum.hex.flowRegime,hexVal.hex.flowRegime_nominal,hexVal.hex.flowRegime,TSerWat.nextEventScaled,TSerWat.nextEvent,$PRE.TSerWat.nextEvent,TSerWat.last,TSerWat.b,TSerWat.a,THotVal.nextEventScaled,THotVal.nextEvent,$PRE.THotVal.nextEvent,THotVal.last,THotVal.b,THotVal.a,TColVal.nextEventScaled,TColVal.nextEvent,$PRE.TColVal.nextEvent,TColVal.last,TColVal.b,TColVal.a,or2.y,hexVal.con.or1.y,hexVal.con.cooRej.greHys.y,$PRE.hexVal.con.cooRej.greHys.y,hexVal.con.heaRej.greHys.y,$PRE.hexVal.con.heaRej.greHys.y,hexVal.con.and2.y,hexVal.con.greThr.greHys.y,$PRE.hexVal.con.greThr.greHys.y,hexPum.con.or1.y,hexPum.con.cooRej.greHys.y,$PRE.hexPum.con.cooRej.greHys.y,hexPum.con.heaRej.greHys.y,$PRE.hexPum.con.heaRej.greHys.y,hexPum.con.and2.y,hexPum.con.greThr.greHys.y,$PRE.hexPum.con.greThr.greHys.y,uEnaColRej.y,uHeaRej.y,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (617): * Single equations (assignments): 601 * Array equations: 3 * Algorithm blocks: 3 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,4), (1,9), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.002861/3.623, allocations: 0.5887 MB / 1.929 GB, free: 11.73 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00368/3.627, allocations: 0.8293 MB / 1.93 GB, free: 10.89 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02298/3.65, allocations: 7.033 MB / 1.937 GB, free: 3.852 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01681/3.666, allocations: 5.459 MB / 1.942 GB, free: 14.27 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.585e-05/3.667, allocations: 11.94 kB / 1.942 GB, free: 14.25 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006812/3.673, allocations: 1.532 MB / 1.944 GB, free: 12.69 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003367/3.677, allocations: 84 kB / 1.944 GB, free: 12.61 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006874/3.684, allocations: 316.5 kB / 1.944 GB, free: 12.3 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001149/3.685, allocations: 326.6 kB / 1.944 GB, free: 11.98 MB / 1.498 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02007/3.705, allocations: 6.3 MB / 1.95 GB, free: 5.656 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0235/3.728, allocations: 9.153 MB / 1.959 GB, free: 12.44 MB / 1.514 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006299/3.735, allocations: 2.586 MB / 1.962 GB, free: 9.848 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.01333/3.748, allocations: 5.413 MB / 1.967 GB, free: 4.488 MB / 1.514 GB Notification: Performance of Backend: time 1.343e-06/3.748, allocations: 0 / 1.967 GB, free: 4.488 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.03979/3.788, allocations: 12.15 MB / 1.979 GB, free: 8.449 MB / 1.529 GB Notification: Performance of SimCode: time 0.04306/3.831, allocations: 18.44 MB / 1.997 GB, free: 6.066 MB / 1.545 GB Notification: Performance of Templates: time 1.233/5.064, allocations: 201.7 MB / 2.194 GB, free: 0.7551 GB / 1.732 GB make -j1 -f Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.makefile (rm -f Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.pipe >> ../files/Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.sim & ./Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.pipe 2>&1)