Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",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.642/1.642, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001113/0.001112, allocations: 176.9 kB / 361.4 MB, free: 6.812 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.562/1.562, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008568/0.0008566, allocations: 91.06 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.826e-05/1.827e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7732, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.152/6.925, allocations: 2.394 GB / 3.358 GB, free: 128.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/6.926, allocations: 96.52 kB / 3.358 GB, free: 128.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.77/16.7, allocations: 2.653 GB / 6.011 GB, free: 105.4 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.244e-06/16.7, allocations: 3.828 kB / 6.011 GB, free: 105.4 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001164/16.7, allocations: 164.5 kB / 6.011 GB, free: 105.4 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: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02341/16.72, allocations: 6.198 MB / 6.017 GB, free: 100 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/16.72, allocations: 12.03 kB / 6.017 GB, free: 100 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/16.73, allocations: 1.488 MB / 6.019 GB, free: 98.53 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0193/16.75, allocations: 7.413 MB / 6.026 GB, free: 91.17 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/16.75, allocations: 152 kB / 6.026 GB, free: 91.02 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/16.75, allocations: 296 kB / 6.026 GB, free: 90.73 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01078/16.76, allocations: 5.325 MB / 6.032 GB, free: 85.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/16.78, allocations: 5.891 MB / 6.037 GB, free: 79.37 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/16.78, allocations: 11.84 kB / 6.037 GB, free: 79.36 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006449/16.78, allocations: 8 kB / 6.037 GB, free: 79.35 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/16.78, allocations: 225.1 kB / 6.038 GB, free: 79.13 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.04347/16.82, allocations: 27.19 MB / 6.064 GB, free: 50.73 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/16.83, allocations: 5.341 MB / 6.069 GB, free: 45.08 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/16.83, allocations: 2.372 MB / 6.072 GB, free: 42.71 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/16.83, allocations: 0.9259 MB / 6.073 GB, free: 41.61 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003686/16.84, allocations: 2.176 MB / 6.075 GB, free: 39.38 MB / 1.01 GB Notification: Performance of pre-optimization done (n=324): time 8.065e-06/16.84, allocations: 0 / 6.075 GB, free: 39.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=328): time 0.03213/16.87, allocations: 10.91 MB / 6.085 GB, free: 28.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/16.87, allocations: 295.6 kB / 6.086 GB, free: 27.95 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009904/16.88, allocations: 4.148 MB / 6.09 GB, free: 23.81 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/16.88, allocations: 33.7 kB / 6.09 GB, free: 23.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003782/16.88, allocations: 2.703 MB / 6.092 GB, free: 21.04 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001994/16.89, allocations: 1.089 MB / 6.093 GB, free: 19.93 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007904/16.89, allocations: 0 / 6.093 GB, free: 19.93 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000416/16.89, allocations: 440.9 kB / 6.094 GB, free: 19.49 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/16.89, allocations: 1.662 MB / 6.095 GB, free: 17.83 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003755/16.89, allocations: 2.553 MB / 6.098 GB, free: 14.94 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/16.9, allocations: 2.227 MB / 6.1 GB, free: 12.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/16.9, allocations: 4 kB / 6.1 GB, free: 12.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.009/16.91, allocations: 4.808 MB / 6.105 GB, free: 7.852 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001191/16.91, allocations: 6.373 MB / 6.111 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/16.91, allocations: 16 kB / 6.111 GB, free: 0.8125 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006005/16.91, allocations: 209.3 kB / 6.111 GB, free: 0.6055 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7115/17.62, allocations: 0.7528 MB / 6.112 GB, free: 120.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/17.62, allocations: 3.377 MB / 6.115 GB, free: 118.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007471/17.63, allocations: 0.5195 MB / 6.116 GB, free: 118.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009298/17.63, allocations: 140.1 kB / 6.116 GB, free: 118.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/17.63, allocations: 4.859 kB / 6.116 GB, free: 118.5 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008329/17.64, allocations: 4.266 MB / 6.12 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.504e-05/17.64, allocations: 20.34 kB / 6.12 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/17.64, allocations: 201.7 kB / 6.12 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003266/17.65, allocations: 0.7456 MB / 6.121 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/17.65, allocations: 3.924 MB / 6.125 GB, free: 115.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007169/17.66, allocations: 0.5065 MB / 6.125 GB, free: 115.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008068/17.66, allocations: 138.5 kB / 6.126 GB, free: 115.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (399): * Single equations (assignments): 393 * 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.001117/17.66, allocations: 211.9 kB / 6.126 GB, free: 115.7 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008808/17.67, allocations: 4.113 MB / 6.13 GB, free: 115.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/17.67, allocations: 494.2 kB / 6.13 GB, free: 115.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008635/17.68, allocations: 4.508 MB / 6.135 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/17.68, allocations: 38.94 kB / 6.135 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/17.68, allocations: 5.672 kB / 6.135 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005502/17.68, allocations: 3.795 MB / 6.138 GB, free: 115.1 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.02326/17.71, allocations: 11.31 MB / 6.149 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/17.71, allocations: 3.562 kB / 6.149 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003269/17.71, allocations: 0.7467 MB / 6.15 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/17.71, allocations: 153.8 kB / 6.15 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003192/17.71, allocations: 50.06 kB / 6.15 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/17.71, allocations: 3.265 MB / 6.154 GB, free: 111.6 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/17.71, allocations: 7.812 kB / 6.154 GB, free: 111.6 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/17.72, allocations: 7.598 MB / 6.161 GB, free: 110.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004486/17.73, allocations: 1.19 MB / 6.162 GB, free: 110.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001996/17.73, allocations: 35.78 kB / 6.162 GB, free: 110.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005958/17.74, allocations: 454.8 kB / 6.163 GB, free: 110.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006507/17.74, allocations: 198.4 kB / 6.163 GB, free: 110.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000399/17.74, allocations: 123.9 kB / 6.163 GB, free: 110.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.008196/17.75, allocations: 3.202 MB / 6.166 GB, free: 109.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.21e-07/17.75, allocations: 0 / 6.166 GB, free: 109.9 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02047/17.77, allocations: 2.942 MB / 6.169 GB, free: 109.9 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 (318): * Single equations (assignments): 310 * 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.02353/17.79, allocations: 12.24 MB / 6.181 GB, free: 106.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01579/17.81, allocations: 6.991 MB / 6.188 GB, free: 105.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.85e-05/17.81, allocations: 3.938 kB / 6.188 GB, free: 105.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00408/17.81, allocations: 2.187 MB / 6.19 GB, free: 105.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01748/17.83, allocations: 2.925 MB / 6.193 GB, free: 105.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/17.86, allocations: 13.34 MB / 6.206 GB, free: 103.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005952/17.87, allocations: 4.677 MB / 6.21 GB, free: 102.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01587/17.88, allocations: 4.381 MB / 6.215 GB, free: 102.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0052/17.89, allocations: 2.474 MB / 6.217 GB, free: 102.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/17.89, allocations: 5.969 kB / 6.217 GB, free: 102.2 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.264/18.15, allocations: 177.2 MB / 6.39 GB, free: 58.55 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/18.15, allocations: 194.8 kB / 6.39 GB, free: 58.31 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.04/27.19, allocations: 0 / 6.39 GB, free: 58.31 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)