Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.497/2.497, allocations: 284.9 MB / 292.4 MB, free: 10.62 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.001489/0.001488, allocations: 180.9 kB / 360.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001151/0.00115, allocations: 99.62 kB / 0.7321 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.762e-05, allocations: 4 kB / 0.8509 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.8667, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.99/7.857, allocations: 2.374 GB / 3.338 GB, free: 106.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000572/7.858, allocations: 89.2 kB / 3.338 GB, free: 106.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.07/20.92, allocations: 2.398 GB / 5.736 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.706e-06/20.92, allocations: 0 / 5.736 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001335/20.93, allocations: 148.2 kB / 5.736 GB, free: 105.4 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.02947/20.96, allocations: 5.715 MB / 5.742 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/20.96, allocations: 11.91 kB / 5.742 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/20.97, allocations: 1.4 MB / 5.743 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02742/21, allocations: 7.046 MB / 5.75 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000449/21, allocations: 149 kB / 5.75 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002678/21, allocations: 280.7 kB / 5.751 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01991/21.02, allocations: 5.208 MB / 5.756 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02413/21.04, allocations: 5.68 MB / 5.761 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/21.04, allocations: 6.812 kB / 5.761 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/21.05, allocations: 6.406 kB / 5.761 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000367/21.05, allocations: 212 kB / 5.761 GB, free: 102 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.06035/21.11, allocations: 25.8 MB / 5.787 GB, free: 92.61 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009186/21.12, allocations: 4.961 MB / 5.792 GB, free: 91.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005211/21.12, allocations: 2.315 MB / 5.794 GB, free: 91.02 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/21.12, allocations: 1.012 MB / 5.795 GB, free: 89.98 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0054/21.13, allocations: 2.156 MB / 5.797 GB, free: 89.79 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=312): time 8.236e-06/21.13, allocations: 0 / 5.797 GB, free: 89.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=316): time 0.04251/21.17, allocations: 10.66 MB / 5.807 GB, free: 87.04 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/21.17, allocations: 189.2 kB / 5.807 GB, free: 86.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/21.18, allocations: 3.848 MB / 5.811 GB, free: 86.55 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/21.18, allocations: 33.42 kB / 5.811 GB, free: 86.52 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00386/21.19, allocations: 2.463 MB / 5.814 GB, free: 85.66 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001996/21.19, allocations: 1.04 MB / 5.815 GB, free: 84.97 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/21.19, allocations: 5.016 kB / 5.815 GB, free: 84.97 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002993/21.19, allocations: 435 kB / 5.815 GB, free: 84.66 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003853/21.19, allocations: 1.601 MB / 5.817 GB, free: 84.66 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005024/21.2, allocations: 2.387 MB / 5.819 GB, free: 83.9 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006671/21.2, allocations: 2.205 MB / 5.821 GB, free: 83.85 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-05/21.21, allocations: 5.781 kB / 5.821 GB, free: 83.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01549/21.22, allocations: 4.6 MB / 5.826 GB, free: 83.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/21.22, allocations: 5.831 MB / 5.831 GB, free: 77.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.142e-05/21.22, allocations: 13.81 kB / 5.831 GB, free: 77.56 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006904/21.22, allocations: 121 kB / 5.831 GB, free: 77.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006569/21.23, allocations: 0.7187 MB / 5.832 GB, free: 77.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/21.23, allocations: 2.689 MB / 5.835 GB, free: 75.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009769/21.24, allocations: 484.9 kB / 5.835 GB, free: 75.65 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/21.24, allocations: 129.1 kB / 5.835 GB, free: 75.65 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/21.24, allocations: 5.938 kB / 5.835 GB, free: 75.65 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01352/21.26, allocations: 4.164 MB / 5.839 GB, free: 75.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-05/21.26, allocations: 11.12 kB / 5.839 GB, free: 75.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/21.26, allocations: 127.5 kB / 5.84 GB, free: 75.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006176/21.26, allocations: 0.7059 MB / 5.84 GB, free: 75.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/21.27, allocations: 2.075 MB / 5.842 GB, free: 74.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009657/21.28, allocations: 479.2 kB / 5.843 GB, free: 74.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/21.28, allocations: 128.6 kB / 5.843 GB, free: 74.23 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.0015/21.28, allocations: 241.9 kB / 5.843 GB, free: 74.05 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01844/21.3, allocations: 4.011 MB / 5.847 GB, free: 73.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002749/21.3, allocations: 448.1 kB / 5.847 GB, free: 73.47 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02094/21.32, allocations: 4.412 MB / 5.852 GB, free: 73.26 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.731e-05/21.32, allocations: 34.44 kB / 5.852 GB, free: 73.26 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/21.32, allocations: 3.875 kB / 5.852 GB, free: 73.26 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01662/21.34, allocations: 3.744 MB / 5.855 GB, free: 73 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.04625/21.38, allocations: 11.08 MB / 5.866 GB, free: 71.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/21.38, allocations: 2.625 kB / 5.866 GB, free: 71.74 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009786/21.39, allocations: 0.7109 MB / 5.867 GB, free: 71.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007563/21.4, allocations: 109.1 kB / 5.867 GB, free: 71.73 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009254/21.4, allocations: 59.27 kB / 5.867 GB, free: 71.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/21.4, allocations: 2.66 MB / 5.87 GB, free: 69.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/21.4, allocations: 10.58 kB / 5.87 GB, free: 69.87 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01968/21.42, allocations: 7.398 MB / 5.877 GB, free: 68.62 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005277/21.43, allocations: 1.136 MB / 5.878 GB, free: 68.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002011/21.43, allocations: 31.27 kB / 5.878 GB, free: 68.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008294/21.44, allocations: 439.1 kB / 5.879 GB, free: 68.28 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008207/21.44, allocations: 188.7 kB / 5.879 GB, free: 68.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004851/21.44, allocations: 125.8 kB / 5.879 GB, free: 68.27 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.007231/21.44, allocations: 2.982 MB / 5.882 GB, free: 68.09 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.32e-07/21.45, allocations: 2.625 kB / 5.882 GB, free: 68.09 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01802/21.46, allocations: 2.712 MB / 5.884 GB, free: 68.04 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.02441/21.49, allocations: 11.67 MB / 5.896 GB, free: 64.64 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01604/21.5, allocations: 6.695 MB / 5.902 GB, free: 64.08 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/21.5, allocations: 3.219 kB / 5.902 GB, free: 64.08 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005069/21.51, allocations: 2.215 MB / 5.904 GB, free: 63.83 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02517/21.53, allocations: 2.765 MB / 5.907 GB, free: 63.79 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04354/21.58, allocations: 12.85 MB / 5.92 GB, free: 61.54 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009304/21.59, allocations: 4.476 MB / 5.924 GB, free: 60.69 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02466/21.61, allocations: 4.337 MB / 5.928 GB, free: 60.65 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007119/21.62, allocations: 2.278 MB / 5.931 GB, free: 60.64 MB / 0.9948 GB Notification: Performance of SimCode: time 1.854e-06/21.62, allocations: 0 / 5.931 GB, free: 60.64 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.21/22.83, allocations: 164.4 MB / 6.091 GB, free: 115.2 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/22.83, allocations: 189.8 kB / 6.091 GB, free: 115 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.728/32.56, allocations: 0 / 6.091 GB, free: 115 MB / 1.01 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)