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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001155/0.001155, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.846/1.846, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0009259/0.0009262, allocations: 92.12 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.904e-05/3.862e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7853/0.7854, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.4/7.185, allocations: 2.376 GB / 3.349 GB, free: 63.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/7.186, allocations: 96.03 kB / 3.349 GB, free: 63.78 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.182/16.37, allocations: 2.398 GB / 5.747 GB, free: 93.14 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.944e-06/16.37, allocations: 3.562 kB / 5.747 GB, free: 93.14 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001011/16.37, allocations: 144.4 kB / 5.747 GB, free: 93.12 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.02012/16.39, allocations: 5.723 MB / 5.753 GB, free: 91.15 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/16.39, allocations: 7.875 kB / 5.753 GB, free: 91.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/16.4, allocations: 1.389 MB / 5.754 GB, free: 90.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/16.42, allocations: 7.053 MB / 5.761 GB, free: 89.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/16.42, allocations: 143 kB / 5.761 GB, free: 89.94 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/16.42, allocations: 285.9 kB / 5.762 GB, free: 89.93 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01086/16.43, allocations: 5.204 MB / 5.767 GB, free: 89.91 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/16.44, allocations: 5.69 MB / 5.772 GB, free: 89.52 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/16.44, allocations: 2.969 kB / 5.772 GB, free: 89.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005242/16.44, allocations: 9.5 kB / 5.772 GB, free: 89.52 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/16.44, allocations: 211 kB / 5.773 GB, free: 89.51 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.03831/16.48, allocations: 25.79 MB / 5.798 GB, free: 80.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005643/16.49, allocations: 4.956 MB / 5.803 GB, free: 78.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/16.49, allocations: 2.322 MB / 5.805 GB, free: 78.57 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/16.49, allocations: 1.009 MB / 5.806 GB, free: 77.53 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00287/16.49, allocations: 2.157 MB / 5.808 GB, free: 77.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=312): time 4.418e-06/16.49, allocations: 0 / 5.808 GB, free: 77.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=316): time 0.02809/16.52, allocations: 10.66 MB / 5.818 GB, free: 74.59 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/16.52, allocations: 190.9 kB / 5.819 GB, free: 74.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009127/16.53, allocations: 3.84 MB / 5.822 GB, free: 74.11 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/16.53, allocations: 31.8 kB / 5.822 GB, free: 74.08 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003225/16.54, allocations: 2.47 MB / 5.825 GB, free: 73.23 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002048/16.54, allocations: 1.045 MB / 5.826 GB, free: 72.53 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/16.54, allocations: 0 / 5.826 GB, free: 72.53 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002334/16.54, allocations: 432.2 kB / 5.826 GB, free: 72.22 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002475/16.54, allocations: 1.605 MB / 5.828 GB, free: 72.21 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/16.54, allocations: 2.391 MB / 5.83 GB, free: 71.45 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003977/16.55, allocations: 2.197 MB / 5.832 GB, free: 71.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/16.55, allocations: 5.375 kB / 5.832 GB, free: 71.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008433/16.56, allocations: 4.606 MB / 5.837 GB, free: 71.05 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001239/16.56, allocations: 5.829 MB / 5.842 GB, free: 65.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/16.56, allocations: 11.25 kB / 5.842 GB, free: 65.12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/16.56, allocations: 124.7 kB / 5.843 GB, free: 65.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/16.56, allocations: 0.7195 MB / 5.843 GB, free: 65.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/16.56, allocations: 2.689 MB / 5.846 GB, free: 63.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005828/16.57, allocations: 491.2 kB / 5.846 GB, free: 63.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/16.57, allocations: 131.2 kB / 5.846 GB, free: 63.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/16.57, allocations: 4.531 kB / 5.846 GB, free: 63.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006777/16.58, allocations: 4.159 MB / 5.851 GB, free: 63.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/16.58, allocations: 20.34 kB / 5.851 GB, free: 63.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/16.58, allocations: 124.7 kB / 5.851 GB, free: 63.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/16.58, allocations: 0.7085 MB / 5.851 GB, free: 63.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/16.58, allocations: 2.07 MB / 5.853 GB, free: 61.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005804/16.59, allocations: 474.4 kB / 5.854 GB, free: 61.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/16.59, allocations: 124.8 kB / 5.854 GB, free: 61.79 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.0008996/16.59, allocations: 248 kB / 5.854 GB, free: 61.61 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007413/16.59, allocations: 4.014 MB / 5.858 GB, free: 61.25 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/16.6, allocations: 448.8 kB / 5.859 GB, free: 61.03 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007771/16.6, allocations: 4.413 MB / 5.863 GB, free: 60.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/16.6, allocations: 39.56 kB / 5.863 GB, free: 60.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/16.6, allocations: 0 / 5.863 GB, free: 60.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005659/16.61, allocations: 3.74 MB / 5.867 GB, free: 60.54 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.02101/16.63, allocations: 11.08 MB / 5.877 GB, free: 59.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/16.63, allocations: 2.125 kB / 5.877 GB, free: 59.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003069/16.63, allocations: 0.7079 MB / 5.878 GB, free: 59.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003511/16.63, allocations: 114.2 kB / 5.878 GB, free: 59.28 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/16.63, allocations: 51.19 kB / 5.878 GB, free: 59.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/16.64, allocations: 2.664 MB / 5.881 GB, free: 57.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/16.64, allocations: 3.406 kB / 5.881 GB, free: 57.41 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/16.65, allocations: 7.398 MB / 5.888 GB, free: 56.16 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00382/16.65, allocations: 1.139 MB / 5.889 GB, free: 55.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/16.65, allocations: 35.39 kB / 5.889 GB, free: 55.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004382/16.66, allocations: 434.2 kB / 5.89 GB, free: 55.82 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/16.66, allocations: 191.5 kB / 5.89 GB, free: 55.82 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002866/16.66, allocations: 121.1 kB / 5.89 GB, free: 55.82 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005069/16.66, allocations: 2.985 MB / 5.893 GB, free: 54.84 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.253e-06/16.66, allocations: 3.938 kB / 5.893 GB, free: 54.84 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0141/16.68, allocations: 2.717 MB / 5.895 GB, free: 54.62 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.01756/16.69, allocations: 11.68 MB / 5.907 GB, free: 48.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009376/16.7, allocations: 6.697 MB / 5.913 GB, free: 46.33 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/16.7, allocations: 2.531 kB / 5.913 GB, free: 46.33 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002657/16.71, allocations: 2.206 MB / 5.916 GB, free: 45.43 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0143/16.72, allocations: 2.756 MB / 5.918 GB, free: 45.01 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02828/16.75, allocations: 12.86 MB / 5.931 GB, free: 40.71 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005464/16.75, allocations: 4.484 MB / 5.935 GB, free: 55.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0127/16.77, allocations: 4.332 MB / 5.939 GB, free: 55 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004096/16.77, allocations: 2.271 MB / 5.942 GB, free: 53.14 MB / 1.01 GB Notification: Performance of SimCode: time 6.71e-07/16.77, allocations: 0 / 5.942 GB, free: 53.14 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9406/17.71, allocations: 164.4 MB / 6.102 GB, free: 95.82 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/17.71, allocations: 188.8 kB / 6.102 GB, free: 95.64 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.017/26.73, allocations: 1.875 kB / 6.102 GB, free: 95.64 MB / 1.01 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)