Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 175.3 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 94.47 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 9.031 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.227, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.494/5.721, allocations: 2.484 GB / 3.385 GB, free: 25.79 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/5.721, allocations: 91.08 kB / 3.385 GB, free: 25.74 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.313/13.03, allocations: 2.007 GB / 5.391 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.595e-06/13.03, allocations: 0 / 5.391 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0009864/13.04, allocations: 135.9 kB / 5.391 GB, free: 100.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.02357/13.06, allocations: 6.316 MB / 5.398 GB, free: 94.07 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/13.06, allocations: 8.031 kB / 5.398 GB, free: 94.06 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003127/13.06, allocations: 0.5589 MB / 5.398 GB, free: 93.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009701/13.07, allocations: 1.249 MB / 5.399 GB, free: 92.24 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01844/13.09, allocations: 6.735 MB / 5.406 GB, free: 85.47 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/13.09, allocations: 303.8 kB / 5.406 GB, free: 85.17 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/13.09, allocations: 415.9 kB / 5.407 GB, free: 84.77 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/13.11, allocations: 5.628 MB / 5.412 GB, free: 79.03 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/13.11, allocations: 7.906 kB / 5.412 GB, free: 79.02 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006102/13.11, allocations: 160 kB / 5.412 GB, free: 78.87 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001814/13.11, allocations: 206.5 kB / 5.412 GB, free: 78.67 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009269/13.12, allocations: 4.949 MB / 5.417 GB, free: 73.72 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04563/13.16, allocations: 24.01 MB / 5.441 GB, free: 48.35 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006235/13.17, allocations: 3.673 MB / 5.444 GB, free: 44.64 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/13.17, allocations: 1.002 MB / 5.445 GB, free: 43.43 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003794/13.17, allocations: 1.886 MB / 5.447 GB, free: 41.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=273): time 7.874e-06/13.17, allocations: 0 / 5.447 GB, free: 41.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=277): time 0.02612/13.2, allocations: 9.87 MB / 5.457 GB, free: 31.37 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/13.2, allocations: 136.9 kB / 5.457 GB, free: 31.21 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009116/13.21, allocations: 3.939 MB / 5.461 GB, free: 27.25 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000911/13.21, allocations: 85.7 kB / 5.461 GB, free: 27.16 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003015/13.21, allocations: 2.22 MB / 5.463 GB, free: 24.93 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001674/13.21, allocations: 0.9473 MB / 5.464 GB, free: 23.97 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005574/13.21, allocations: 56 kB / 5.464 GB, free: 23.91 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003259/13.21, allocations: 423.6 kB / 5.464 GB, free: 23.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/13.22, allocations: 1.461 MB / 5.466 GB, free: 22.03 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/13.22, allocations: 2.219 MB / 5.468 GB, free: 19.54 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/13.22, allocations: 1.937 MB / 5.47 GB, free: 17.57 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/13.22, allocations: 4 kB / 5.47 GB, free: 17.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.00873/13.23, allocations: 4.289 MB / 5.474 GB, free: 13.22 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001146/13.23, allocations: 5.203 MB / 5.479 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/13.23, allocations: 19.94 kB / 5.479 GB, free: 7.695 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005114/13.23, allocations: 124.8 kB / 5.479 GB, free: 7.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/13.24, allocations: 0.6124 MB / 5.48 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/13.24, allocations: 2.784 MB / 5.483 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006704/13.25, allocations: 0.5066 MB / 5.483 GB, free: 3.512 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/13.25, allocations: 108 kB / 5.483 GB, free: 3.406 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/13.25, allocations: 4 kB / 5.483 GB, free: 3.402 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5964/13.84, allocations: 3.942 MB / 5.487 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-05/13.84, allocations: 11.25 kB / 5.487 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003939/13.84, allocations: 125.8 kB / 5.487 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003205/13.85, allocations: 0.6111 MB / 5.488 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/13.85, allocations: 2.173 MB / 5.49 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005999/13.86, allocations: 493 kB / 5.49 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006074/13.86, allocations: 114.4 kB / 5.491 GB, free: 109.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 332 * 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.00475/13.86, allocations: 2.172 MB / 5.493 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/13.86, allocations: 428.8 kB / 5.493 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008352/13.87, allocations: 4.102 MB / 5.497 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/13.87, allocations: 27.38 kB / 5.497 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/13.87, allocations: 3.031 kB / 5.497 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006193/13.88, allocations: 3.436 MB / 5.5 GB, free: 108.9 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0208/13.9, allocations: 10.28 MB / 5.51 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/13.9, allocations: 6.125 kB / 5.51 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002749/13.9, allocations: 0.625 MB / 5.511 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003791/13.9, allocations: 116.8 kB / 5.511 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002236/13.9, allocations: 79.62 kB / 5.511 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/13.9, allocations: 2.77 MB / 5.514 GB, free: 106 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/13.9, allocations: 8.734 kB / 5.514 GB, free: 106 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0094/13.91, allocations: 6.771 MB / 5.521 GB, free: 105 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003975/13.92, allocations: 1.081 MB / 5.522 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/13.92, allocations: 69.67 kB / 5.522 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004939/13.92, allocations: 456.1 kB / 5.522 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004123/13.92, allocations: 168.5 kB / 5.522 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002873/13.92, allocations: 110.4 kB / 5.522 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.006009/13.93, allocations: 3.118 MB / 5.525 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.322e-06/13.93, allocations: 0 / 5.525 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01241/13.94, allocations: 2.76 MB / 5.528 GB, free: 104.7 MB / 0.9323 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 258 * 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.01444/13.96, allocations: 10.83 MB / 5.539 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009518/13.97, allocations: 6.084 MB / 5.545 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/13.97, allocations: 3.75 kB / 5.545 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002652/13.97, allocations: 2.051 MB / 5.547 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01499/13.98, allocations: 2.795 MB / 5.549 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0415/14.03, allocations: 29.07 MB / 5.578 GB, free: 80.72 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005469/14.03, allocations: 4.06 MB / 5.582 GB, free: 79.89 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.008298/14.04, allocations: 2.394 MB / 5.584 GB, free: 79.85 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004403/14.04, allocations: 2.088 MB / 5.586 GB, free: 79.84 MB / 0.9323 GB Notification: Performance of SimCode: time 2.255e-06/14.04, allocations: 2.719 kB / 5.586 GB, free: 79.84 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2604/14.3, allocations: 174.6 MB / 5.757 GB, free: 32.59 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/14.3, allocations: 273.2 kB / 5.757 GB, free: 32.23 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/21.17, allocations: 64 / 5.757 GB, free: 32.23 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)