Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.793/1.793, allocations: 285.4 MB / 298 MB, free: 5.914 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.001038/0.001038, allocations: 164.9 kB / 366.4 MB, free: 2.09 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.734/1.734, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.0008344/0.0008344, allocations: 97.41 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.956e-05/4.982e-05, allocations: 11.98 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8024, allocations: 115.3 MB / 0.971 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.525/7.327, allocations: 2.375 GB / 3.346 GB, free: 124.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/7.328, allocations: 89.5 kB / 3.346 GB, free: 124.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.972/17.3, allocations: 2.42 GB / 5.766 GB, free: 117.2 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.983e-06/17.3, allocations: 0 / 5.766 GB, free: 117.2 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001988/17.3, allocations: 144.8 kB / 5.766 GB, free: 117.1 MB / 1.01 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.02898/17.33, allocations: 5.717 MB / 5.772 GB, free: 115.3 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/17.33, allocations: 14.31 kB / 5.772 GB, free: 115.3 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003768/17.33, allocations: 0.637 MB / 5.772 GB, free: 115.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/17.35, allocations: 1.398 MB / 5.774 GB, free: 114.9 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02624/17.38, allocations: 7.048 MB / 5.781 GB, free: 114 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007819/17.38, allocations: 358.6 kB / 5.781 GB, free: 114 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00291/17.38, allocations: 477.9 kB / 5.781 GB, free: 114 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/17.4, allocations: 6.349 MB / 5.788 GB, free: 113.6 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001829/17.4, allocations: 15.59 kB / 5.788 GB, free: 113.6 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001075/17.4, allocations: 194.4 kB / 5.788 GB, free: 113.6 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000281/17.4, allocations: 211.2 kB / 5.788 GB, free: 113.6 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/17.42, allocations: 5.586 MB / 5.793 GB, free: 113.5 MB / 1.01 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.05028/17.47, allocations: 26.61 MB / 5.819 GB, free: 104 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005964/17.47, allocations: 4.008 MB / 5.823 GB, free: 103.6 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003456/17.48, allocations: 2.428 MB / 5.826 GB, free: 103.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/17.48, allocations: 1.012 MB / 5.827 GB, free: 102.5 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003533/17.48, allocations: 2.149 MB / 5.829 GB, free: 102.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=313): time 6.422e-06/17.48, allocations: 0 / 5.829 GB, free: 102.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=317): time 0.02504/17.51, allocations: 9.469 MB / 5.838 GB, free: 100.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/17.51, allocations: 137.2 kB / 5.838 GB, free: 100.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/17.52, allocations: 4.203 MB / 5.842 GB, free: 100.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001059/17.52, allocations: 94.98 kB / 5.842 GB, free: 100.2 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002877/17.52, allocations: 2.497 MB / 5.845 GB, free: 99.32 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001807/17.52, allocations: 1.084 MB / 5.846 GB, free: 98.63 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/17.52, allocations: 63.34 kB / 5.846 GB, free: 98.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002135/17.52, allocations: 440.1 kB / 5.846 GB, free: 98.32 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/17.53, allocations: 1.683 MB / 5.848 GB, free: 98.31 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/17.53, allocations: 2.489 MB / 5.85 GB, free: 97.55 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/17.53, allocations: 2.232 MB / 5.853 GB, free: 97.43 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/17.53, allocations: 3.625 kB / 5.853 GB, free: 97.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008485/17.54, allocations: 4.851 MB / 5.857 GB, free: 97.01 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/17.54, allocations: 5.672 MB / 5.863 GB, free: 91.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/17.54, allocations: 14.44 kB / 5.863 GB, free: 91.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004464/17.54, allocations: 128.8 kB / 5.863 GB, free: 91.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/17.55, allocations: 0.7097 MB / 5.864 GB, free: 91.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/17.55, allocations: 2.752 MB / 5.866 GB, free: 89.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007379/17.56, allocations: 0.5405 MB / 5.867 GB, free: 89.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009803/17.56, allocations: 129.3 kB / 5.867 GB, free: 89.11 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/17.56, allocations: 3.812 kB / 5.867 GB, free: 89.11 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008464/17.57, allocations: 4.477 MB / 5.871 GB, free: 88.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.842e-05/17.57, allocations: 14.44 kB / 5.871 GB, free: 88.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/17.57, allocations: 122.3 kB / 5.872 GB, free: 88.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/17.57, allocations: 0.702 MB / 5.872 GB, free: 88.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/17.57, allocations: 2.138 MB / 5.874 GB, free: 87.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00729/17.58, allocations: 0.5287 MB / 5.875 GB, free: 87.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009755/17.58, allocations: 123.2 kB / 5.875 GB, free: 87.57 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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.002014/17.58, allocations: 372 kB / 5.875 GB, free: 87.39 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002201/17.58, allocations: 469.6 kB / 5.876 GB, free: 87.15 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/17.6, allocations: 4.716 MB / 5.88 GB, free: 86.88 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/17.6, allocations: 38.61 kB / 5.88 GB, free: 86.88 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/17.6, allocations: 5.5 kB / 5.88 GB, free: 86.88 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006661/17.6, allocations: 3.94 MB / 5.884 GB, free: 86.55 MB / 1.01 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.02848/17.63, allocations: 11.82 MB / 5.896 GB, free: 85.37 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/17.63, allocations: 8.531 kB / 5.896 GB, free: 85.37 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003569/17.63, allocations: 0.7125 MB / 5.897 GB, free: 85.37 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/17.64, allocations: 111.3 kB / 5.897 GB, free: 85.36 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007076/17.64, allocations: 89.84 kB / 5.897 GB, free: 85.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002232/17.64, allocations: 2.732 MB / 5.899 GB, free: 83.44 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/17.64, allocations: 3.844 kB / 5.899 GB, free: 83.44 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/17.65, allocations: 7.766 MB / 5.907 GB, free: 82.07 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004558/17.66, allocations: 1.172 MB / 5.908 GB, free: 81.75 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002132/17.66, allocations: 80.2 kB / 5.908 GB, free: 81.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006737/17.66, allocations: 487 kB / 5.909 GB, free: 81.72 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000848/17.67, allocations: 190.7 kB / 5.909 GB, free: 81.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008051/17.67, allocations: 127.1 kB / 5.909 GB, free: 81.71 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009534/17.68, allocations: 3.31 MB / 5.912 GB, free: 81.51 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.122e-06/17.68, allocations: 2.344 kB / 5.912 GB, free: 81.51 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02075/17.7, allocations: 2.943 MB / 5.915 GB, free: 81.45 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (306): * Single equations (assignments): 298 * 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.02301/17.72, allocations: 11.87 MB / 5.927 GB, free: 77.89 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01384/17.73, allocations: 7.067 MB / 5.934 GB, free: 77.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/17.73, allocations: 3.938 kB / 5.934 GB, free: 77.29 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004166/17.74, allocations: 2.321 MB / 5.936 GB, free: 77.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01686/17.76, allocations: 2.928 MB / 5.939 GB, free: 76.88 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03839/17.79, allocations: 13.03 MB / 5.951 GB, free: 72.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006902/17.8, allocations: 4.482 MB / 5.956 GB, free: 70.79 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01473/17.82, allocations: 4.351 MB / 5.96 GB, free: 70.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005154/17.82, allocations: 2.278 MB / 5.962 GB, free: 68.87 MB / 1.01 GB Notification: Performance of SimCode: time 1.543e-06/17.82, allocations: 2.734 kB / 5.962 GB, free: 68.87 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.668/19.49, allocations: 200.5 MB / 6.158 GB, free: 86.32 MB / 1.011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/19.49, allocations: 248 kB / 6.158 GB, free: 85.99 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.299/28.79, allocations: 0 / 6.158 GB, free: 85.99 MB / 1.011 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)