Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.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.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.622/2.622, allocations: 285 MB / 292.5 MB, free: 10.53 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.001478/0.001477, allocations: 196.8 kB / 360.8 MB, free: 7.223 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.934/1.934, allocations: 205.3 MB / 0.6192 GB, free: 12.14 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.001077/0.001076, allocations: 99.55 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.021e-05, allocations: 8 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8358, allocations: 115.2 MB / 0.9634 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.931/7.767, allocations: 2.374 GB / 3.338 GB, free: 106.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/7.767, allocations: 94.55 kB / 3.338 GB, free: 106.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.32/21.09, allocations: 2.398 GB / 5.736 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.214e-06/21.09, allocations: 0 / 5.736 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001354/21.09, allocations: 138.1 kB / 5.736 GB, free: 106.6 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.03114/21.12, allocations: 5.713 MB / 5.742 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/21.12, allocations: 10.12 kB / 5.742 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/21.14, allocations: 1.4 MB / 5.743 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02847/21.17, allocations: 7.051 MB / 5.75 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004531/21.17, allocations: 146.3 kB / 5.75 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002629/21.17, allocations: 282.2 kB / 5.751 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01967/21.19, allocations: 5.204 MB / 5.756 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02626/21.21, allocations: 5.686 MB / 5.761 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000373/21.22, allocations: 6.688 kB / 5.761 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002066/21.22, allocations: 5.406 kB / 5.761 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004326/21.22, allocations: 214.8 kB / 5.762 GB, free: 103.1 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.06364/21.28, allocations: 25.81 MB / 5.787 GB, free: 93.73 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009141/21.29, allocations: 4.96 MB / 5.792 GB, free: 92.18 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005477/21.3, allocations: 2.319 MB / 5.794 GB, free: 92.14 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/21.3, allocations: 1.012 MB / 5.795 GB, free: 91.11 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005977/21.3, allocations: 2.155 MB / 5.797 GB, free: 90.92 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=312): time 9.628e-06/21.3, allocations: 3.891 kB / 5.797 GB, free: 90.92 MB / 0.9948 GB Notification: Performance of matching and sorting (n=316): time 0.04475/21.35, allocations: 10.65 MB / 5.807 GB, free: 88.17 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/21.35, allocations: 196.6 kB / 5.808 GB, free: 87.98 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/21.36, allocations: 3.845 MB / 5.811 GB, free: 87.69 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/21.36, allocations: 29.61 kB / 5.811 GB, free: 87.66 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003868/21.37, allocations: 2.465 MB / 5.814 GB, free: 86.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002063/21.37, allocations: 1.04 MB / 5.815 GB, free: 86.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/21.37, allocations: 0 / 5.815 GB, free: 86.11 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002935/21.37, allocations: 435.6 kB / 5.815 GB, free: 85.8 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/21.37, allocations: 1.604 MB / 5.817 GB, free: 85.79 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005273/21.38, allocations: 2.39 MB / 5.819 GB, free: 85.04 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006443/21.39, allocations: 2.191 MB / 5.821 GB, free: 84.98 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.452e-05/21.39, allocations: 3.906 kB / 5.821 GB, free: 84.98 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01454/21.4, allocations: 4.604 MB / 5.826 GB, free: 84.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001351/21.4, allocations: 5.838 MB / 5.831 GB, free: 78.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.061e-05/21.4, allocations: 12.06 kB / 5.831 GB, free: 78.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006754/21.4, allocations: 125.3 kB / 5.832 GB, free: 78.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006472/21.41, allocations: 0.7214 MB / 5.832 GB, free: 78.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/21.41, allocations: 2.687 MB / 5.835 GB, free: 76.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009842/21.42, allocations: 485.7 kB / 5.835 GB, free: 76.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/21.42, allocations: 128.1 kB / 5.835 GB, free: 76.79 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/21.42, allocations: 3.719 kB / 5.835 GB, free: 76.79 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01265/21.44, allocations: 4.167 MB / 5.84 GB, free: 76.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.377e-05/21.44, allocations: 11.59 kB / 5.84 GB, free: 76.69 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/21.44, allocations: 125 kB / 5.84 GB, free: 76.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005982/21.44, allocations: 0.7038 MB / 5.84 GB, free: 76.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/21.45, allocations: 2.07 MB / 5.842 GB, free: 75.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009557/21.46, allocations: 479.4 kB / 5.843 GB, free: 75.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/21.46, allocations: 133.5 kB / 5.843 GB, free: 75.36 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.001302/21.46, allocations: 244 kB / 5.843 GB, free: 75.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00183/21.46, allocations: 450.4 kB / 5.844 GB, free: 74.96 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/21.47, allocations: 4.408 MB / 5.848 GB, free: 74.75 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.13e-05/21.47, allocations: 29.03 kB / 5.848 GB, free: 74.75 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/21.47, allocations: 2.969 kB / 5.848 GB, free: 74.75 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01079/21.48, allocations: 3.746 MB / 5.852 GB, free: 74.49 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.03251/21.52, allocations: 11.08 MB / 5.862 GB, free: 73.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/21.52, allocations: 3.375 kB / 5.862 GB, free: 73.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006489/21.52, allocations: 0.7048 MB / 5.863 GB, free: 73.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005529/21.52, allocations: 115.8 kB / 5.863 GB, free: 73.22 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006445/21.53, allocations: 55.25 kB / 5.863 GB, free: 73.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/21.53, allocations: 2.665 MB / 5.866 GB, free: 71.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/21.53, allocations: 7.188 kB / 5.866 GB, free: 71.36 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/21.55, allocations: 7.388 MB / 5.873 GB, free: 70.11 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005468/21.55, allocations: 1.137 MB / 5.874 GB, free: 69.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002112/21.55, allocations: 31.48 kB / 5.874 GB, free: 69.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008503/21.56, allocations: 436.6 kB / 5.875 GB, free: 69.77 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009013/21.56, allocations: 193.5 kB / 5.875 GB, free: 69.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004953/21.56, allocations: 127 kB / 5.875 GB, free: 69.77 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.007628/21.57, allocations: 2.986 MB / 5.878 GB, free: 69.59 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.283e-06/21.57, allocations: 2.281 kB / 5.878 GB, free: 69.59 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01885/21.59, allocations: 2.715 MB / 5.881 GB, free: 69.52 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.006969/21.6, allocations: 3.073 MB / 5.884 GB, free: 68.49 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01714/21.61, allocations: 6.693 MB / 5.89 GB, free: 67.93 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/21.61, allocations: 5.438 kB / 5.89 GB, free: 67.93 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005637/21.62, allocations: 2.213 MB / 5.892 GB, free: 67.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0248/21.64, allocations: 2.763 MB / 5.895 GB, free: 67.66 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03774/21.68, allocations: 10.96 MB / 5.906 GB, free: 65.61 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009571/21.69, allocations: 4.478 MB / 5.91 GB, free: 64.76 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02433/21.72, allocations: 4.341 MB / 5.914 GB, free: 64.71 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002152/21.72, allocations: 272 kB / 5.915 GB, free: 64.71 MB / 0.9948 GB Notification: Performance of SimCode: time 1.463e-06/21.72, allocations: 3.812 kB / 5.915 GB, free: 64.71 MB / 0.9948 GB Notification: Performance of Templates: time 0.2708/21.99, allocations: 112.7 MB / 6.025 GB, free: 17.53 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)