Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001537/0.001537, allocations: 119.8 kB / 16.82 MB, free: 5.758 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.001766/0.001766, allocations: 196.7 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.606/1.606, allocations: 225.6 MB / 244.2 MB, free: 13.9 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.868/2.868, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.89 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3938, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger): time 1.422/1.815, allocations: 350.6 MB / 1.604 GB, free: 34.17 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.1216/1.937, allocations: 78.82 MB / 1.681 GB, free: 30.51 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02393/1.961, allocations: 428 kB / 1.682 GB, free: 30.51 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.02063/1.982, allocations: 5.483 MB / 1.687 GB, free: 29.28 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.04239/2.024, allocations: 12.08 MB / 1.699 GB, free: 25.71 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.03045/2.054, allocations: 10.18 MB / 1.709 GB, free: 20.53 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.06576/2.12, allocations: 41.02 MB / 1.749 GB, free: 12.53 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02117/2.141, allocations: 6.893 MB / 1.756 GB, free: 5.668 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03069/2.172, allocations: 10.18 MB / 1.766 GB, free: 12.06 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01666/2.189, allocations: 7.119 MB / 1.773 GB, free: 5.43 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.005365/2.194, allocations: 1.043 MB / 1.774 GB, free: 4.387 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02181/2.216, allocations: 6.729 MB / 1.78 GB, free: 13.96 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.006291/2.222, allocations: 2.968 MB / 1.783 GB, free: 11.04 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01456/2.237, allocations: 5.714 MB / 1.789 GB, free: 5.355 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04279/2.28, allocations: 18.82 MB / 1.807 GB, free: 3.125 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/2.28, allocations: 4 kB / 1.807 GB, free: 3.121 MB / 1.326 GB Notification: Performance of FrontEnd: time 6.433e-06/2.28, allocations: 3.984 kB / 1.807 GB, free: 3.117 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0006526/2.28, allocations: 7.938 kB / 1.807 GB, free: 3.109 MB / 1.326 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.03208/2.312, allocations: 11.43 MB / 1.818 GB, free: 7.688 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/2.312, allocations: 11.98 kB / 1.818 GB, free: 7.676 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/2.325, allocations: 2.296 MB / 1.821 GB, free: 5.371 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03122/2.357, allocations: 11.89 MB / 1.832 GB, free: 9.672 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005606/2.357, allocations: 405.8 kB / 1.833 GB, free: 9.273 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002342/2.36, allocations: 0.5312 MB / 1.833 GB, free: 8.742 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/2.378, allocations: 6.643 MB / 1.84 GB, free: 1.934 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/2.378, allocations: 7.938 kB / 1.84 GB, free: 1.926 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007316/2.379, allocations: 207.9 kB / 1.84 GB, free: 1.723 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/2.379, allocations: 120 kB / 1.84 GB, free: 1.605 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01857/2.397, allocations: 5.823 MB / 1.846 GB, free: 11.77 MB / 1.373 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.06997/2.467, allocations: 32.86 MB / 1.878 GB, free: 9.105 MB / 1.404 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/2.48, allocations: 3.888 MB / 1.881 GB, free: 5.219 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006278/2.487, allocations: 2.042 MB / 1.883 GB, free: 3.172 MB / 1.404 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03477/2.522, allocations: 11.75 MB / 1.895 GB, free: 6.633 MB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008728/2.53, allocations: 2.869 MB / 1.898 GB, free: 3.715 MB / 1.42 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005117/2.535, allocations: 479.9 kB / 1.898 GB, free: 3.246 MB / 1.42 GB Notification: Performance of pre-optimization done (n=330): time 1.77e-05/2.535, allocations: 4 kB / 1.898 GB, free: 3.242 MB / 1.42 GB Notification: Performance of matching and sorting (n=330): time 0.03022/2.566, allocations: 7.903 MB / 1.906 GB, free: 11.2 MB / 1.436 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/2.566, allocations: 171 kB / 1.906 GB, free: 11 MB / 1.436 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02241/2.588, allocations: 8.163 MB / 1.914 GB, free: 2.902 MB / 1.436 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/2.59, allocations: 113.7 kB / 1.914 GB, free: 2.785 MB / 1.436 GB Notification: Performance of collectInitialEqns (initialization): time 0.00705/2.597, allocations: 3.971 MB / 1.918 GB, free: 14.84 MB / 1.451 GB Notification: Performance of collectInitialBindings (initialization): time 0.002628/2.599, allocations: 1.163 MB / 1.919 GB, free: 13.69 MB / 1.451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005796/2.605, allocations: 1.327 MB / 1.92 GB, free: 12.35 MB / 1.451 GB Notification: Performance of setup shared object (initialization): time 0.0001454/2.605, allocations: 309.1 kB / 1.921 GB, free: 12.05 MB / 1.451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009018/2.614, allocations: 3.51 MB / 1.924 GB, free: 8.52 MB / 1.451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/2.626, allocations: 4.842 MB / 1.929 GB, free: 3.16 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/2.645, allocations: 7.919 MB / 1.937 GB, free: 10.75 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/2.645, allocations: 8 kB / 1.937 GB, free: 10.74 MB / 1.467 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02967/2.674, allocations: 9.809 MB / 1.946 GB, free: 0.8398 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/2.675, allocations: 117.1 kB / 1.946 GB, free: 0.707 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.527e-05/2.675, allocations: 31.94 kB / 1.946 GB, free: 0.6758 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/2.677, allocations: 499 kB / 1.947 GB, free: 184 kB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007423/2.684, allocations: 1.275 MB / 1.948 GB, free: 14.9 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005366/2.69, allocations: 4.768 MB / 1.953 GB, free: 9.961 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009342/2.699, allocations: 392.6 kB / 1.953 GB, free: 9.578 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/2.701, allocations: 311.9 kB / 1.953 GB, free: 9.273 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01462/2.716, allocations: 4.853 MB / 1.958 GB, free: 4.41 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0104/2.726, allocations: 4.487 MB / 1.962 GB, free: 15.41 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01732/2.743, allocations: 7.221 MB / 1.97 GB, free: 7.695 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.781e-05/2.743, allocations: 8 kB / 1.97 GB, free: 7.688 MB / 1.498 GB Notification: Performance of matching and sorting (n=763) (initialization_lambda0): time 0.02746/2.771, allocations: 9.056 MB / 1.978 GB, free: 14.54 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/2.771, allocations: 113.1 kB / 1.979 GB, free: 14.41 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.519e-05/2.771, allocations: 28 kB / 1.979 GB, free: 14.38 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/2.773, allocations: 447.7 kB / 1.979 GB, free: 13.93 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006793/2.78, allocations: 1.275 MB / 1.98 GB, free: 12.65 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006235/2.786, allocations: 4.88 MB / 1.985 GB, free: 7.449 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008894/2.795, allocations: 392.2 kB / 1.985 GB, free: 7.066 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/2.797, allocations: 295.9 kB / 1.986 GB, free: 6.777 MB / 1.514 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.002529/2.799, allocations: 0.5812 MB / 1.986 GB, free: 6.176 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003222/2.802, allocations: 0.877 MB / 1.987 GB, free: 5.293 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/2.822, allocations: 7.046 MB / 1.994 GB, free: 14.24 MB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01384/2.836, allocations: 5.447 MB / 1.999 GB, free: 8.664 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/2.836, allocations: 3.938 kB / 1.999 GB, free: 8.66 MB / 1.529 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005626/2.842, allocations: 1.584 MB / 2.001 GB, free: 7.051 MB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002762/2.845, allocations: 80 kB / 2.001 GB, free: 6.973 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006183/2.851, allocations: 320.4 kB / 2.001 GB, free: 6.66 MB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009151/2.852, allocations: 330.6 kB / 2.002 GB, free: 6.336 MB / 1.529 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01895/2.871, allocations: 6.306 MB / 2.008 GB, free: 8 kB / 1.529 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02299/2.894, allocations: 9.198 MB / 2.017 GB, free: 6.746 MB / 1.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006142/2.9, allocations: 2.332 MB / 2.019 GB, free: 4.406 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.0138/2.914, allocations: 5.413 MB / 2.024 GB, free: 15.05 MB / 1.561 GB Notification: Performance of Backend: time 1.072e-06/2.914, allocations: 0 / 2.024 GB, free: 15.05 MB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.04049/2.954, allocations: 11.29 MB / 2.035 GB, free: 3.832 MB / 1.561 GB Notification: Performance of SimCode: time 0.05697/3.011, allocations: 18.76 MB / 2.054 GB, free: 1.07 MB / 1.576 GB Notification: Performance of Templates: time 1.252/4.263, allocations: 205.1 MB / 2.254 GB, free: 0.6764 GB / 1.717 GB make -j1 -f Buildings_11_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.makefile (rm -f Buildings_11_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.pipe ; mkfifo Buildings_11_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.pipe >> ../files/Buildings_11_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.sim & ./Buildings_11_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.ETS.Combined.Subsystems.Validation.HeatExchanger.pipe 2>&1)