Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.017/4.017, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0028/0.0028, allocations: 179.8 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.355/4.355, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001569/0.001569, allocations: 98.34 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008156/0.0008162, allocations: 15.59 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4177, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.54/12.96, allocations: 2.511 GB / 3.411 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005573/12.96, allocations: 103.6 kB / 3.411 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 18.42/31.38, allocations: 2.578 GB / 5.989 GB, free: 82.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.942e-06/31.38, allocations: 0 / 5.989 GB, free: 82.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002557/31.38, allocations: 170.1 kB / 5.989 GB, free: 82.65 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1252 * Number of variables: 1252 Notification: Performance of Generate backend data structure: time 0.05435/31.44, allocations: 7.492 MB / 5.997 GB, free: 80.03 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/31.44, allocations: 10.34 kB / 5.997 GB, free: 80.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02378/31.46, allocations: 1.495 MB / 5.998 GB, free: 79.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04206/31.5, allocations: 7.312 MB / 6.005 GB, free: 78.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009303/31.5, allocations: 375.7 kB / 6.006 GB, free: 78.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003971/31.51, allocations: 0.496 MB / 6.006 GB, free: 78.69 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04323/31.55, allocations: 6.795 MB / 6.013 GB, free: 78.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005978/31.55, allocations: 15.31 kB / 6.013 GB, free: 78.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003505/31.56, allocations: 198.3 kB / 6.013 GB, free: 78.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007716/31.56, allocations: 223.6 kB / 6.013 GB, free: 78.19 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03422/31.59, allocations: 5.914 MB / 6.019 GB, free: 78.14 MB / 0.948 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.1109/31.7, allocations: 28.07 MB / 6.046 GB, free: 67.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01715/31.72, allocations: 4.329 MB / 6.051 GB, free: 67.09 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01183/31.73, allocations: 2.537 MB / 6.053 GB, free: 67.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002533/31.73, allocations: 0.9139 MB / 6.054 GB, free: 66.11 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01176/31.75, allocations: 2.232 MB / 6.056 GB, free: 65.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=324): time 1.507e-05/31.75, allocations: 0 / 6.056 GB, free: 65.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.07377/31.82, allocations: 11.68 MB / 6.068 GB, free: 64.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/31.82, allocations: 246.2 kB / 6.068 GB, free: 63.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02437/31.84, allocations: 5.013 MB / 6.073 GB, free: 63.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001609/31.85, allocations: 95.42 kB / 6.073 GB, free: 63.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007681/31.85, allocations: 2.743 MB / 6.076 GB, free: 62.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003543/31.86, allocations: 1.13 MB / 6.077 GB, free: 61.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/31.86, allocations: 66.22 kB / 6.077 GB, free: 61.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007/31.86, allocations: 443.7 kB / 6.077 GB, free: 61.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009286/31.87, allocations: 1.789 MB / 6.079 GB, free: 61.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01122/31.88, allocations: 2.721 MB / 6.082 GB, free: 60.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/31.89, allocations: 2.319 MB / 6.084 GB, free: 60.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.941e-05/31.89, allocations: 7.562 kB / 6.084 GB, free: 60.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.03023/31.92, allocations: 5.196 MB / 6.089 GB, free: 60.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006798/31.92, allocations: 0.5213 MB / 6.089 GB, free: 59.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/31.92, allocations: 17.72 kB / 6.089 GB, free: 59.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/31.93, allocations: 244.2 kB / 6.09 GB, free: 59.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/31.94, allocations: 0.7641 MB / 6.09 GB, free: 59.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006778/31.94, allocations: 3.417 MB / 6.094 GB, free: 57.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01676/31.96, allocations: 0.5912 MB / 6.094 GB, free: 57.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/31.96, allocations: 134.1 kB / 6.094 GB, free: 57.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/31.96, allocations: 3.969 kB / 6.094 GB, free: 57.06 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02653/31.99, allocations: 4.725 MB / 6.099 GB, free: 56.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/31.99, allocations: 20.53 kB / 6.099 GB, free: 56.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/31.99, allocations: 201.8 kB / 6.099 GB, free: 56.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/32, allocations: 0.7441 MB / 6.1 GB, free: 56.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/32.01, allocations: 4.068 MB / 6.104 GB, free: 54.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01664/32.03, allocations: 0.5801 MB / 6.105 GB, free: 54.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/32.03, allocations: 138.8 kB / 6.105 GB, free: 54.12 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (398): * Single equations (assignments): 392 * 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.01192/32.04, allocations: 2.432 MB / 6.107 GB, free: 53.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003787/32.05, allocations: 0.4972 MB / 6.108 GB, free: 53.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02803/32.07, allocations: 4.934 MB / 6.112 GB, free: 53.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-05/32.07, allocations: 41.92 kB / 6.112 GB, free: 53.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.158e-05/32.07, allocations: 3.219 kB / 6.112 GB, free: 53.37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02099/32.1, allocations: 4.108 MB / 6.116 GB, free: 53.06 MB / 0.948 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.0645/32.16, allocations: 11.94 MB / 6.128 GB, free: 48.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-05/32.16, allocations: 3.688 kB / 6.128 GB, free: 48.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01106/32.17, allocations: 0.7398 MB / 6.129 GB, free: 48.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/32.17, allocations: 176.9 kB / 6.129 GB, free: 48.48 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001285/32.17, allocations: 87.83 kB / 6.129 GB, free: 48.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00616/32.18, allocations: 3.33 MB / 6.132 GB, free: 45.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-05/32.18, allocations: 9.625 kB / 6.132 GB, free: 45.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03439/32.21, allocations: 7.572 MB / 6.14 GB, free: 42.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008555/32.22, allocations: 1.223 MB / 6.141 GB, free: 41.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003706/32.23, allocations: 83.25 kB / 6.141 GB, free: 41.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01409/32.24, allocations: 0.5102 MB / 6.141 GB, free: 41.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001607/32.24, allocations: 198.8 kB / 6.142 GB, free: 41.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001451/32.24, allocations: 126.6 kB / 6.142 GB, free: 41.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01848/32.26, allocations: 3.516 MB / 6.145 GB, free: 40.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.403e-06/32.26, allocations: 0 / 6.145 GB, free: 40.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03277/32.3, allocations: 3.165 MB / 6.148 GB, free: 39.87 MB / 0.948 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 (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.0112/32.31, allocations: 3.211 MB / 6.151 GB, free: 38.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03371/32.34, allocations: 7.345 MB / 6.159 GB, free: 35.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-05/32.34, allocations: 5 kB / 6.159 GB, free: 35.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01062/32.35, allocations: 2.347 MB / 6.161 GB, free: 34.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04572/32.4, allocations: 3.13 MB / 6.164 GB, free: 34.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06816/32.47, allocations: 15.75 MB / 6.179 GB, free: 22.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01721/32.48, allocations: 4.578 MB / 6.184 GB, free: 18.76 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0276/32.51, allocations: 2.686 MB / 6.186 GB, free: 17.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004772/32.52, allocations: 383.9 kB / 6.187 GB, free: 16.67 MB / 0.948 GB Notification: Performance of SimCode: time 2.434e-06/32.52, allocations: 0 / 6.187 GB, free: 16.67 MB / 0.948 GB Notification: Performance of Templates: time 1.773/34.29, allocations: 138.5 MB / 6.322 GB, free: 102 MB / 0.9636 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)