Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.000971/0.000971, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.709/1.709, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0009134/0.0009135, allocations: 83.05 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.719e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7518/0.7518, allocations: 116.3 MB / 0.9732 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.7/6.452, allocations: 2.376 GB / 3.349 GB, free: 113.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/6.452, allocations: 87.95 kB / 3.349 GB, free: 113 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.009/15.46, allocations: 2.398 GB / 5.747 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.357e-06/15.46, allocations: 4.594 kB / 5.747 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001323/15.46, allocations: 145.5 kB / 5.747 GB, free: 101.8 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.02703/15.49, allocations: 5.708 MB / 5.753 GB, free: 99.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/15.49, allocations: 10.12 kB / 5.753 GB, free: 99.93 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/15.5, allocations: 1.4 MB / 5.754 GB, free: 99.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02183/15.52, allocations: 7.05 MB / 5.761 GB, free: 98.72 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003699/15.52, allocations: 146.7 kB / 5.761 GB, free: 98.72 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002351/15.53, allocations: 287.2 kB / 5.762 GB, free: 98.71 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0148/15.54, allocations: 5.202 MB / 5.767 GB, free: 98.69 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02982/15.57, allocations: 5.685 MB / 5.772 GB, free: 98.31 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/15.57, allocations: 19.47 kB / 5.772 GB, free: 98.31 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007375/15.57, allocations: 5.562 kB / 5.772 GB, free: 98.31 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003159/15.57, allocations: 211 kB / 5.773 GB, free: 98.3 MB / 0.9948 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.04649/15.62, allocations: 25.79 MB / 5.798 GB, free: 88.95 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005838/15.62, allocations: 4.96 MB / 5.803 GB, free: 87.39 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/15.63, allocations: 2.319 MB / 5.805 GB, free: 87.36 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/15.63, allocations: 1.008 MB / 5.806 GB, free: 86.32 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003001/15.63, allocations: 2.162 MB / 5.808 GB, free: 86.14 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=312): time 5.089e-06/15.63, allocations: 0 / 5.808 GB, free: 86.14 MB / 0.9948 GB Notification: Performance of matching and sorting (n=316): time 0.02898/15.66, allocations: 10.65 MB / 5.818 GB, free: 83.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/15.66, allocations: 195.1 kB / 5.818 GB, free: 83.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006801/15.67, allocations: 3.845 MB / 5.822 GB, free: 82.91 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001072/15.67, allocations: 31.27 kB / 5.822 GB, free: 82.88 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002711/15.67, allocations: 2.474 MB / 5.825 GB, free: 82.02 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/15.67, allocations: 1.041 MB / 5.826 GB, free: 81.32 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/15.67, allocations: 0 / 5.826 GB, free: 81.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000205/15.67, allocations: 436.4 kB / 5.826 GB, free: 81.02 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/15.68, allocations: 1.606 MB / 5.828 GB, free: 81.01 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/15.68, allocations: 2.377 MB / 5.83 GB, free: 80.25 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003467/15.68, allocations: 2.204 MB / 5.832 GB, free: 80.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/15.68, allocations: 3.812 kB / 5.832 GB, free: 80.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008574/15.69, allocations: 4.608 MB / 5.837 GB, free: 79.85 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00125/15.69, allocations: 5.826 MB / 5.842 GB, free: 73.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/15.69, allocations: 13.88 kB / 5.842 GB, free: 73.92 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004269/15.69, allocations: 118.9 kB / 5.842 GB, free: 73.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/15.7, allocations: 0.729 MB / 5.843 GB, free: 73.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/15.7, allocations: 2.687 MB / 5.846 GB, free: 72.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006862/15.7, allocations: 494.2 kB / 5.846 GB, free: 72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008547/15.71, allocations: 125.6 kB / 5.846 GB, free: 72 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/15.71, allocations: 7.469 kB / 5.846 GB, free: 72 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0075/15.71, allocations: 4.163 MB / 5.85 GB, free: 71.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/15.71, allocations: 13.84 kB / 5.85 GB, free: 71.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/15.71, allocations: 121 kB / 5.851 GB, free: 71.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/15.72, allocations: 0.705 MB / 5.851 GB, free: 71.89 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/15.72, allocations: 2.076 MB / 5.853 GB, free: 70.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006704/15.72, allocations: 474.2 kB / 5.854 GB, free: 70.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008524/15.73, allocations: 127.2 kB / 5.854 GB, free: 70.59 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (380): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001657/15.73, allocations: 252.5 kB / 5.854 GB, free: 70.41 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002141/15.73, allocations: 447.3 kB / 5.855 GB, free: 70.19 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/15.74, allocations: 4.405 MB / 5.859 GB, free: 69.98 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/15.74, allocations: 28.88 kB / 5.859 GB, free: 69.98 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/15.74, allocations: 3.719 kB / 5.859 GB, free: 69.98 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006831/15.75, allocations: 3.743 MB / 5.863 GB, free: 69.71 MB / 0.9948 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.02527/15.77, allocations: 11.08 MB / 5.873 GB, free: 68.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/15.77, allocations: 6.312 kB / 5.873 GB, free: 68.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003013/15.78, allocations: 0.7079 MB / 5.874 GB, free: 68.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004375/15.78, allocations: 113 kB / 5.874 GB, free: 68.45 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/15.78, allocations: 50.28 kB / 5.874 GB, free: 68.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/15.78, allocations: 2.662 MB / 5.877 GB, free: 66.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/15.78, allocations: 7.406 kB / 5.877 GB, free: 66.58 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/15.79, allocations: 7.396 MB / 5.884 GB, free: 65.34 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004309/15.79, allocations: 1.137 MB / 5.885 GB, free: 65.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001882/15.8, allocations: 29.28 kB / 5.885 GB, free: 65.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005915/15.8, allocations: 434.4 kB / 5.886 GB, free: 65 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/15.8, allocations: 195.3 kB / 5.886 GB, free: 64.99 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004704/15.8, allocations: 124.3 kB / 5.886 GB, free: 64.99 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.007371/15.81, allocations: 2.982 MB / 5.889 GB, free: 64.81 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.51e-07/15.81, allocations: 0 / 5.889 GB, free: 64.81 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01734/15.83, allocations: 2.718 MB / 5.891 GB, free: 64.75 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 18 (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,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006476/15.83, allocations: 3.073 MB / 5.894 GB, free: 63.72 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01291/15.85, allocations: 6.695 MB / 5.901 GB, free: 63.16 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/15.85, allocations: 3.812 kB / 5.901 GB, free: 63.16 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004064/15.85, allocations: 2.216 MB / 5.903 GB, free: 62.92 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01634/15.87, allocations: 2.756 MB / 5.906 GB, free: 62.87 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02884/15.9, allocations: 10.97 MB / 5.917 GB, free: 60.81 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007376/15.9, allocations: 4.482 MB / 5.921 GB, free: 59.96 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01855/15.92, allocations: 4.334 MB / 5.925 GB, free: 59.91 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001903/15.92, allocations: 277.2 kB / 5.925 GB, free: 59.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.843e-06/15.92, allocations: 0 / 5.925 GB, free: 59.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.188/16.11, allocations: 112.7 MB / 6.036 GB, free: 12.51 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)