Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.107/2.107, allocations: 251 MB / 265.9 MB, free: 11.7 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.001538/0.001537, allocations: 179.8 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.345/2.345, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001105/0.001104, allocations: 99.78 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006527/0.0006528, allocations: 11.91 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1994, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.535/7.734, allocations: 2.484 GB / 3.383 GB, free: 36.48 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/7.734, allocations: 90.39 kB / 3.383 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.56/18.29, allocations: 2.007 GB / 5.39 GB, free: 83.45 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.144e-06/18.29, allocations: 0 / 5.39 GB, free: 83.45 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001128/18.29, allocations: 135.9 kB / 5.39 GB, free: 83.32 MB / 0.9167 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.03023/18.32, allocations: 6.321 MB / 5.396 GB, free: 76.94 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/18.32, allocations: 8.031 kB / 5.396 GB, free: 76.93 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002966/18.33, allocations: 0.5628 MB / 5.397 GB, free: 76.36 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/18.34, allocations: 1.241 MB / 5.398 GB, free: 75.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/18.36, allocations: 6.739 MB / 5.404 GB, free: 68.34 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004767/18.36, allocations: 303.8 kB / 5.405 GB, free: 68.04 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/18.37, allocations: 423.9 kB / 5.405 GB, free: 67.63 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/18.39, allocations: 5.616 MB / 5.411 GB, free: 61.91 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003029/18.39, allocations: 19.53 kB / 5.411 GB, free: 61.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001678/18.39, allocations: 171.9 kB / 5.411 GB, free: 61.72 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002655/18.39, allocations: 187.7 kB / 5.411 GB, free: 61.54 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/18.41, allocations: 4.957 MB / 5.416 GB, free: 56.58 MB / 0.9167 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.05244/18.46, allocations: 24.01 MB / 5.439 GB, free: 31.21 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00852/18.47, allocations: 3.671 MB / 5.443 GB, free: 27.52 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/18.47, allocations: 1.002 MB / 5.444 GB, free: 26.31 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005294/18.47, allocations: 1.893 MB / 5.446 GB, free: 24.37 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=273): time 7.354e-06/18.47, allocations: 0 / 5.446 GB, free: 24.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277): time 0.03373/18.51, allocations: 9.865 MB / 5.455 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/18.51, allocations: 144.9 kB / 5.455 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/18.52, allocations: 3.932 MB / 5.459 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008955/18.52, allocations: 85.7 kB / 5.459 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003493/18.52, allocations: 2.216 MB / 5.462 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001787/18.53, allocations: 0.9551 MB / 5.462 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/18.53, allocations: 56 kB / 5.463 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002766/18.53, allocations: 415.7 kB / 5.463 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004054/18.53, allocations: 1.461 MB / 5.464 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005111/18.54, allocations: 2.215 MB / 5.467 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/18.54, allocations: 1.953 MB / 5.468 GB, free: 452 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/18.54, allocations: 4 kB / 5.468 GB, free: 448 kB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.0148/18.56, allocations: 4.285 MB / 5.473 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002802/18.56, allocations: 5.195 MB / 5.478 GB, free: 6.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.243e-05/18.56, allocations: 11.98 kB / 5.478 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007052/18.56, allocations: 124.8 kB / 5.478 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/18.56, allocations: 0.6163 MB / 5.478 GB, free: 5.836 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/18.57, allocations: 2.792 MB / 5.481 GB, free: 2.895 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009127/18.58, allocations: 0.4949 MB / 5.482 GB, free: 2.398 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000961/18.58, allocations: 116 kB / 5.482 GB, free: 2.285 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/18.58, allocations: 5.719 kB / 5.482 GB, free: 2.281 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7718/19.35, allocations: 3.936 MB / 5.486 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/19.35, allocations: 12.41 kB / 5.486 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005319/19.35, allocations: 126.6 kB / 5.486 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005347/19.36, allocations: 0.613 MB / 5.486 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/19.36, allocations: 2.175 MB / 5.488 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008788/19.37, allocations: 493.1 kB / 5.489 GB, free: 111.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009305/19.37, allocations: 113.1 kB / 5.489 GB, free: 111.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.006614/19.38, allocations: 2.179 MB / 5.491 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/19.38, allocations: 425.8 kB / 5.492 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/19.39, allocations: 4.094 MB / 5.496 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.955e-05/19.39, allocations: 27.06 kB / 5.496 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/19.39, allocations: 2.109 kB / 5.496 GB, free: 111.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01016/19.4, allocations: 3.44 MB / 5.499 GB, free: 111 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.02885/19.43, allocations: 10.29 MB / 5.509 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/19.43, allocations: 3.781 kB / 5.509 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005695/19.44, allocations: 0.6254 MB / 5.51 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005802/19.44, allocations: 113.6 kB / 5.51 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000688/19.44, allocations: 84.53 kB / 5.51 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/19.44, allocations: 2.769 MB / 5.512 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/19.44, allocations: 6.281 kB / 5.512 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/19.46, allocations: 6.766 MB / 5.519 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004801/19.46, allocations: 1.085 MB / 5.52 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001877/19.47, allocations: 73.91 kB / 5.52 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00807/19.47, allocations: 455.2 kB / 5.521 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000943/19.48, allocations: 176.8 kB / 5.521 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004858/19.48, allocations: 107 kB / 5.521 GB, free: 107 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.008316/19.48, allocations: 3.119 MB / 5.524 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.31e-07/19.48, allocations: 2.312 kB / 5.524 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01643/19.5, allocations: 2.749 MB / 5.527 GB, free: 106.8 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.02298/19.52, allocations: 10.83 MB / 5.537 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01704/19.54, allocations: 6.089 MB / 5.543 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/19.54, allocations: 3.688 kB / 5.543 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.005735/19.55, allocations: 2.044 MB / 5.545 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0233/19.57, allocations: 2.794 MB / 5.548 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04513/19.61, allocations: 29.07 MB / 5.576 GB, free: 82.79 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007694/19.62, allocations: 4.062 MB / 5.58 GB, free: 81.96 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01346/19.64, allocations: 2.391 MB / 5.583 GB, free: 81.92 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006245/19.64, allocations: 2.096 MB / 5.585 GB, free: 81.91 MB / 0.9323 GB Notification: Performance of SimCode: time 2.204e-06/19.64, allocations: 0 / 5.585 GB, free: 81.91 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3659/20.01, allocations: 174.6 MB / 5.755 GB, free: 33.56 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/20.01, allocations: 265.7 kB / 5.755 GB, free: 33.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.513/29.52, allocations: 3.938 kB / 5.755 GB, free: 33.2 MB / 0.9323 GB