Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 288.2 MB / 303.2 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 177.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.4 MB / 0.6305 GB, free: 10.07 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 89.09 kB / 0.7439 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003749, allocations: 12.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2168, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.595/5.812, allocations: 2.387 GB / 3.366 GB, free: 237.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/5.812, allocations: 96.95 kB / 3.366 GB, free: 237.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.68/14.49, allocations: 2.317 GB / 5.683 GB, free: 131.6 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.896e-06/14.49, allocations: 0 / 5.683 GB, free: 131.6 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001497/14.49, allocations: 153 kB / 5.683 GB, free: 131.6 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.02968/14.52, allocations: 6.892 MB / 5.69 GB, free: 128.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/14.52, allocations: 13.44 kB / 5.69 GB, free: 128.7 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003952/14.53, allocations: 0.5806 MB / 5.691 GB, free: 128.7 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/14.54, allocations: 1.327 MB / 5.692 GB, free: 128.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02241/14.56, allocations: 7.085 MB / 5.699 GB, free: 127.3 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005024/14.56, allocations: 323.4 kB / 5.699 GB, free: 127.3 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002527/14.56, allocations: 445.6 kB / 5.7 GB, free: 127.3 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/14.58, allocations: 5.866 MB / 5.705 GB, free: 126.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/14.58, allocations: 17.53 kB / 5.705 GB, free: 126.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001904/14.59, allocations: 172.7 kB / 5.706 GB, free: 126.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/14.59, allocations: 197.8 kB / 5.706 GB, free: 126.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/14.6, allocations: 5.11 MB / 5.711 GB, free: 126.7 MB / 1.01 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.05251/14.65, allocations: 25.47 MB / 5.736 GB, free: 110.9 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007217/14.66, allocations: 4.409 MB / 5.74 GB, free: 108.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/14.66, allocations: 0.9154 MB / 5.741 GB, free: 107.6 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004347/14.67, allocations: 1.909 MB / 5.743 GB, free: 106.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 6.232e-06/14.67, allocations: 0 / 5.743 GB, free: 106.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.02421/14.69, allocations: 10.23 MB / 5.753 GB, free: 102.2 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/14.69, allocations: 245.8 kB / 5.753 GB, free: 101.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007846/14.7, allocations: 4.223 MB / 5.757 GB, free: 100.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009846/14.7, allocations: 90.42 kB / 5.757 GB, free: 100.4 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002951/14.7, allocations: 2.45 MB / 5.76 GB, free: 98.55 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001675/14.7, allocations: 0.996 MB / 5.761 GB, free: 97.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/14.7, allocations: 60 kB / 5.761 GB, free: 97.58 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001944/14.7, allocations: 425.1 kB / 5.761 GB, free: 97.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/14.71, allocations: 1.556 MB / 5.763 GB, free: 95.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/14.71, allocations: 2.419 MB / 5.765 GB, free: 93.51 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/14.71, allocations: 2.023 MB / 5.767 GB, free: 91.73 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/14.71, allocations: 4 kB / 5.767 GB, free: 91.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.007897/14.72, allocations: 4.579 MB / 5.771 GB, free: 87.66 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001311/14.72, allocations: 5.711 MB / 5.777 GB, free: 81.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/14.72, allocations: 19.66 kB / 5.777 GB, free: 81.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/14.72, allocations: 213.1 kB / 5.777 GB, free: 81.37 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/14.73, allocations: 0.6631 MB / 5.778 GB, free: 80.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/14.73, allocations: 3.451 MB / 5.781 GB, free: 77.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006812/14.74, allocations: 0.55 MB / 5.782 GB, free: 76.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000662/14.74, allocations: 124 kB / 5.782 GB, free: 76.41 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/14.74, allocations: 4 kB / 5.782 GB, free: 76.41 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006718/14.74, allocations: 4.15 MB / 5.786 GB, free: 72.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.059e-05/14.74, allocations: 12 kB / 5.786 GB, free: 72.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/14.74, allocations: 202.5 kB / 5.786 GB, free: 72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/14.75, allocations: 0.6631 MB / 5.787 GB, free: 71.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003643/14.75, allocations: 4.118 MB / 5.791 GB, free: 66.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00672/14.76, allocations: 0.5305 MB / 5.791 GB, free: 66.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007236/14.76, allocations: 124 kB / 5.791 GB, free: 66.3 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 () * Number of clocked 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.004872/14.76, allocations: 2.173 MB / 5.794 GB, free: 64.11 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001582/14.76, allocations: 470.4 kB / 5.794 GB, free: 63.65 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007348/14.77, allocations: 4.29 MB / 5.798 GB, free: 59.31 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/14.77, allocations: 28 kB / 5.798 GB, free: 59.28 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/14.77, allocations: 4 kB / 5.798 GB, free: 59.28 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004767/14.78, allocations: 3.58 MB / 5.802 GB, free: 55.63 MB / 1.01 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 postOpt removeSimpleEquations (simulation): time 0.02327/14.8, allocations: 10.71 MB / 5.812 GB, free: 44.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/14.8, allocations: 4 kB / 5.812 GB, free: 44.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/14.8, allocations: 0.6634 MB / 5.813 GB, free: 44.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/14.8, allocations: 160.7 kB / 5.813 GB, free: 43.92 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002447/14.8, allocations: 83.91 kB / 5.813 GB, free: 43.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/14.81, allocations: 3.359 MB / 5.816 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/14.81, allocations: 7.938 kB / 5.816 GB, free: 40.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00908/14.81, allocations: 7.047 MB / 5.823 GB, free: 32.96 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004465/14.82, allocations: 1.108 MB / 5.824 GB, free: 31.83 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001701/14.82, allocations: 75.98 kB / 5.824 GB, free: 31.76 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004856/14.83, allocations: 471 kB / 5.825 GB, free: 31.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/14.83, allocations: 181.8 kB / 5.825 GB, free: 31.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/14.83, allocations: 115.8 kB / 5.825 GB, free: 31.01 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.005834/14.83, allocations: 3.331 MB / 5.828 GB, free: 27.68 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/14.83, allocations: 0 / 5.828 GB, free: 27.68 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01733/14.85, allocations: 2.976 MB / 5.831 GB, free: 24.7 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) * Number of clocked states: 0 () * 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.01724/14.87, allocations: 11.38 MB / 5.842 GB, free: 13.33 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01026/14.88, allocations: 6.468 MB / 5.849 GB, free: 6.758 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/14.88, allocations: 5.281 kB / 5.849 GB, free: 6.754 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/14.88, allocations: 2.053 MB / 5.851 GB, free: 4.676 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01445/14.89, allocations: 2.942 MB / 5.854 GB, free: 1.875 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6552/15.55, allocations: 31.18 MB / 5.884 GB, free: 129.8 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007014/15.56, allocations: 4.217 MB / 5.888 GB, free: 129 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01086/15.57, allocations: 2.408 MB / 5.89 GB, free: 128.9 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005845/15.57, allocations: 2.312 MB / 5.893 GB, free: 128.9 MB / 1.026 GB Notification: Performance of SimCode: time 2.515e-06/15.57, allocations: 0.875 kB / 5.893 GB, free: 128.9 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2979/15.87, allocations: 187.8 MB / 6.076 GB, free: 110.7 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/15.87, allocations: 281.2 kB / 6.076 GB, free: 110.3 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/24.33, allocations: 1.219 kB / 6.076 GB, free: 110.3 MB / 1.026 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)