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.256/2.256, allocations: 248.5 MB / 261 MB, free: 6.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 178.8 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001106/0.001105, allocations: 93.98 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.453e-05/4.471e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2101, allocations: 106.3 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.173/8.383, allocations: 2.484 GB / 3.375 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/8.383, allocations: 98.3 kB / 3.375 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.87/19.26, allocations: 2.003 GB / 5.378 GB, free: 105 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.715e-06/19.26, allocations: 3.656 kB / 5.378 GB, free: 105 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001249/19.26, allocations: 133.6 kB / 5.378 GB, free: 105 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.02567/19.28, allocations: 5.184 MB / 5.383 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/19.28, allocations: 10.72 kB / 5.383 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003015/19.29, allocations: 0.5574 MB / 5.384 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/19.3, allocations: 1.244 MB / 5.385 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02468/19.32, allocations: 6.704 MB / 5.392 GB, free: 102 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005185/19.32, allocations: 307.1 kB / 5.392 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002277/19.33, allocations: 417.1 kB / 5.392 GB, free: 101.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02098/19.35, allocations: 5.543 MB / 5.398 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003124/19.35, allocations: 7 kB / 5.398 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001903/19.35, allocations: 166.8 kB / 5.398 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003101/19.35, allocations: 193.1 kB / 5.398 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/19.37, allocations: 4.85 MB / 5.403 GB, free: 101.5 MB / 0.9167 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.06066/19.43, allocations: 24.02 MB / 5.426 GB, free: 92.22 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008991/19.44, allocations: 3.636 MB / 5.43 GB, free: 91.96 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005426/19.44, allocations: 2.106 MB / 5.432 GB, free: 91.93 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/19.44, allocations: 1 MB / 5.433 GB, free: 90.89 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005744/19.45, allocations: 1.853 MB / 5.435 GB, free: 90.73 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=273): time 7.805e-06/19.45, allocations: 0 / 5.435 GB, free: 90.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277): time 0.03124/19.48, allocations: 8.196 MB / 5.443 GB, free: 89.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/19.48, allocations: 139.3 kB / 5.443 GB, free: 88.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/19.49, allocations: 3.886 MB / 5.447 GB, free: 88.66 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009568/19.49, allocations: 83.33 kB / 5.447 GB, free: 88.63 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004101/19.5, allocations: 2.218 MB / 5.449 GB, free: 87.91 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001947/19.5, allocations: 0.954 MB / 5.45 GB, free: 87.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/19.5, allocations: 56.34 kB / 5.45 GB, free: 87.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003358/19.5, allocations: 424.8 kB / 5.45 GB, free: 86.99 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004025/19.51, allocations: 1.434 MB / 5.452 GB, free: 86.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005379/19.51, allocations: 2.186 MB / 5.454 GB, free: 86.26 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005211/19.52, allocations: 1.922 MB / 5.456 GB, free: 86.14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.808e-05/19.52, allocations: 3.656 kB / 5.456 GB, free: 86.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01374/19.53, allocations: 4.227 MB / 5.46 GB, free: 85.74 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001349/19.53, allocations: 5.198 MB / 5.465 GB, free: 80.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.112e-05/19.53, allocations: 16.5 kB / 5.465 GB, free: 80.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007185/19.53, allocations: 119.9 kB / 5.465 GB, free: 80.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005931/19.54, allocations: 0.6229 MB / 5.466 GB, free: 80.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/19.54, allocations: 2.746 MB / 5.468 GB, free: 78.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009801/19.55, allocations: 0.4994 MB / 5.469 GB, free: 78.46 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009827/19.55, allocations: 112.5 kB / 5.469 GB, free: 78.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/19.55, allocations: 5.344 kB / 5.469 GB, free: 78.46 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01242/19.56, allocations: 3.878 MB / 5.473 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.734e-05/19.56, allocations: 10.97 kB / 5.473 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/19.57, allocations: 125.7 kB / 5.473 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005818/19.57, allocations: 0.6138 MB / 5.473 GB, free: 78.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/19.57, allocations: 2.137 MB / 5.476 GB, free: 76.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009555/19.58, allocations: 496.9 kB / 5.476 GB, free: 76.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009628/19.59, allocations: 112.4 kB / 5.476 GB, free: 76.92 MB / 0.9167 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 () * 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.001392/19.59, allocations: 344.7 kB / 5.476 GB, free: 76.74 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/19.59, allocations: 429.1 kB / 5.477 GB, free: 76.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/19.6, allocations: 4.054 MB / 5.481 GB, free: 76.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/19.6, allocations: 26.19 kB / 5.481 GB, free: 76.25 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/19.6, allocations: 5.688 kB / 5.481 GB, free: 76.25 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009687/19.61, allocations: 3.396 MB / 5.484 GB, free: 75.92 MB / 0.9167 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.03164/19.64, allocations: 10.25 MB / 5.494 GB, free: 71.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/19.64, allocations: 2.781 kB / 5.494 GB, free: 71.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006129/19.65, allocations: 0.6269 MB / 5.495 GB, free: 71.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005718/19.65, allocations: 109.7 kB / 5.495 GB, free: 71.81 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007699/19.65, allocations: 86.47 kB / 5.495 GB, free: 71.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/19.65, allocations: 2.719 MB / 5.498 GB, free: 69.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/19.65, allocations: 3.812 kB / 5.498 GB, free: 69.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/19.67, allocations: 6.708 MB / 5.504 GB, free: 66.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005411/19.68, allocations: 1.088 MB / 5.505 GB, free: 65.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002034/19.68, allocations: 76.45 kB / 5.505 GB, free: 65.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008629/19.69, allocations: 453.2 kB / 5.506 GB, free: 65.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009099/19.69, allocations: 179.4 kB / 5.506 GB, free: 65.49 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004819/19.69, allocations: 105.2 kB / 5.506 GB, free: 65.47 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.008701/19.7, allocations: 3.07 MB / 5.509 GB, free: 64.34 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.82e-07/19.7, allocations: 3.312 kB / 5.509 GB, free: 64.34 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01765/19.71, allocations: 2.745 MB / 5.512 GB, free: 64.02 MB / 0.9167 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 (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.02373/19.74, allocations: 10.76 MB / 5.522 GB, free: 58.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01592/19.75, allocations: 6.141 MB / 5.528 GB, free: 56.08 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/19.75, allocations: 4.594 kB / 5.528 GB, free: 56.08 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004982/19.76, allocations: 2.015 MB / 5.53 GB, free: 54.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02435/19.78, allocations: 2.8 MB / 5.533 GB, free: 53 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03758/19.82, allocations: 11.72 MB / 5.544 GB, free: 43.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008325/19.83, allocations: 4.059 MB / 5.548 GB, free: 40.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.02188/19.85, allocations: 3.963 MB / 5.552 GB, free: 37.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005715/19.86, allocations: 2.023 MB / 5.554 GB, free: 35.85 MB / 0.9167 GB Notification: Performance of SimCode: time 1.543e-06/19.86, allocations: 0 / 5.554 GB, free: 35.85 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.178/21.04, allocations: 188.2 MB / 5.738 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/21.04, allocations: 239.6 kB / 5.738 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/32.07, allocations: 0 / 5.738 GB, free: 115.8 MB / 0.9323 GB