Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.454/2.454, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 184.8 kB / 365.7 MB, free: 2.578 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.1 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 92.25 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.338e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7844, allocations: 115.2 MB / 0.97 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.966/7.75, allocations: 2.387 GB / 3.357 GB, free: 67.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/7.751, allocations: 90.7 kB / 3.357 GB, free: 67.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12/19.75, allocations: 2.313 GB / 5.67 GB, free: 4.297 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.244e-06/19.75, allocations: 0 / 5.67 GB, free: 4.297 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001302/19.75, allocations: 147.8 kB / 5.67 GB, free: 4.152 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.8404/20.59, allocations: 5.65 MB / 5.675 GB, free: 104.4 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/20.59, allocations: 9.922 kB / 5.675 GB, free: 104.4 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/20.61, allocations: 1.329 MB / 5.677 GB, free: 104.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02906/20.64, allocations: 7.023 MB / 5.683 GB, free: 103.5 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006076/20.64, allocations: 330.2 kB / 5.684 GB, free: 103.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00257/20.64, allocations: 447.5 kB / 5.684 GB, free: 103.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/20.66, allocations: 5.762 MB / 5.69 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/20.66, allocations: 9.047 kB / 5.69 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001227/20.66, allocations: 174.2 kB / 5.69 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002719/20.67, allocations: 204.3 kB / 5.69 GB, free: 103 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/20.68, allocations: 4.94 MB / 5.695 GB, free: 102.9 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.06117/20.74, allocations: 25.47 MB / 5.72 GB, free: 92.84 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009083/20.75, allocations: 4.323 MB / 5.724 GB, free: 92.01 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005107/20.76, allocations: 2.165 MB / 5.726 GB, free: 91.97 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001501/20.76, allocations: 0.9157 MB / 5.727 GB, free: 91.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005747/20.76, allocations: 1.85 MB / 5.729 GB, free: 90.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 6.652e-06/20.76, allocations: 0 / 5.729 GB, free: 90.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.03315/20.8, allocations: 8.402 MB / 5.737 GB, free: 89.41 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/20.8, allocations: 241.5 kB / 5.737 GB, free: 89.16 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01354/20.81, allocations: 4.173 MB / 5.741 GB, free: 88.86 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/20.81, allocations: 90.23 kB / 5.742 GB, free: 88.83 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004214/20.82, allocations: 2.448 MB / 5.744 GB, free: 88.27 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/20.82, allocations: 0.9975 MB / 5.745 GB, free: 87.77 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/20.82, allocations: 62.22 kB / 5.745 GB, free: 87.77 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002603/20.82, allocations: 434.1 kB / 5.745 GB, free: 87.46 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004164/20.82, allocations: 1.488 MB / 5.747 GB, free: 87.45 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00564/20.83, allocations: 2.366 MB / 5.749 GB, free: 86.61 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00636/20.84, allocations: 1.97 MB / 5.751 GB, free: 86.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.619e-05/20.84, allocations: 3.594 kB / 5.751 GB, free: 86.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01901/20.86, allocations: 4.46 MB / 5.755 GB, free: 86.11 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001523/20.86, allocations: 5.717 MB / 5.761 GB, free: 80.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.476e-05/20.86, allocations: 13.31 kB / 5.761 GB, free: 80.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/20.86, allocations: 203.3 kB / 5.761 GB, free: 80.16 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008384/20.87, allocations: 0.6684 MB / 5.762 GB, free: 80.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/20.87, allocations: 3.409 MB / 5.765 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01367/20.89, allocations: 0.5445 MB / 5.766 GB, free: 77.69 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/20.89, allocations: 126.4 kB / 5.766 GB, free: 77.69 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/20.89, allocations: 3.375 kB / 5.766 GB, free: 77.69 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01618/20.9, allocations: 4.033 MB / 5.77 GB, free: 77.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.08e-05/20.9, allocations: 16.83 kB / 5.77 GB, free: 77.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/20.9, allocations: 205.6 kB / 5.77 GB, free: 77.53 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007527/20.91, allocations: 0.6586 MB / 5.771 GB, free: 77.53 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00654/20.92, allocations: 4.058 MB / 5.775 GB, free: 74.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/20.93, allocations: 0.5341 MB / 5.775 GB, free: 74.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/20.93, allocations: 118.1 kB / 5.775 GB, free: 74.75 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 348 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.002063/20.93, allocations: 327.5 kB / 5.776 GB, free: 74.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002624/20.94, allocations: 465.4 kB / 5.776 GB, free: 74.37 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/20.95, allocations: 4.195 MB / 5.78 GB, free: 74.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.255e-05/20.95, allocations: 28.06 kB / 5.78 GB, free: 74.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/20.95, allocations: 4.703 kB / 5.78 GB, free: 74.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0102/20.96, allocations: 3.472 MB / 5.784 GB, free: 73.81 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.03324/20.99, allocations: 10.6 MB / 5.794 GB, free: 72.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/20.99, allocations: 4.844 kB / 5.794 GB, free: 72.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006452/21, allocations: 0.6753 MB / 5.795 GB, free: 72.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008415/21, allocations: 164.4 kB / 5.795 GB, free: 72.78 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007486/21, allocations: 87.89 kB / 5.795 GB, free: 72.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/21.01, allocations: 3.313 MB / 5.798 GB, free: 70.34 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/21.01, allocations: 5.906 kB / 5.798 GB, free: 70.34 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01817/21.02, allocations: 6.89 MB / 5.805 GB, free: 68.99 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005852/21.03, allocations: 1.108 MB / 5.806 GB, free: 68.66 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002152/21.03, allocations: 71.89 kB / 5.806 GB, free: 68.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008954/21.04, allocations: 475.3 kB / 5.806 GB, free: 68.64 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/21.04, allocations: 183.9 kB / 5.807 GB, free: 68.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005443/21.04, allocations: 111.3 kB / 5.807 GB, free: 68.63 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00964/21.05, allocations: 3.28 MB / 5.81 GB, free: 68.43 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.12e-07/21.05, allocations: 0 / 5.81 GB, free: 68.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02064/21.07, allocations: 2.98 MB / 5.813 GB, free: 68.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007289/21.08, allocations: 3.136 MB / 5.816 GB, free: 67.27 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01703/21.1, allocations: 6.445 MB / 5.822 GB, free: 66.63 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/21.1, allocations: 1.062 kB / 5.822 GB, free: 66.63 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005225/21.1, allocations: 2 MB / 5.824 GB, free: 66.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02523/21.13, allocations: 2.945 MB / 5.827 GB, free: 66.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02957/21.16, allocations: 10.4 MB / 5.837 GB, free: 64.34 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008172/21.17, allocations: 4.228 MB / 5.841 GB, free: 63.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02265/21.19, allocations: 3.983 MB / 5.845 GB, free: 63.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/21.19, allocations: 273.3 kB / 5.845 GB, free: 63.45 MB / 1.01 GB Notification: Performance of SimCode: time 1.654e-06/21.19, allocations: 0 / 5.845 GB, free: 63.45 MB / 1.01 GB Notification: Performance of Templates: time 0.3299/21.52, allocations: 146.8 MB / 5.989 GB, free: 29.64 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)