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.448/2.448, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001489/0.001489, allocations: 180.8 kB / 315.4 MB, free: 3.996 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.099/2.099, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 88.36 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.366e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.323/8.547, allocations: 2.484 GB / 3.369 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/8.548, allocations: 93.56 kB / 3.369 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.66/19.21, allocations: 1.985 GB / 5.354 GB, free: 110.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.124e-06/19.21, allocations: 0 / 5.354 GB, free: 110.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001196/19.21, allocations: 138.6 kB / 5.354 GB, free: 110.4 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.02499/19.23, allocations: 5.192 MB / 5.359 GB, free: 108.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/19.23, allocations: 10.78 kB / 5.359 GB, free: 108.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/19.24, allocations: 1.243 MB / 5.36 GB, free: 108.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02489/19.27, allocations: 6.689 MB / 5.367 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/19.27, allocations: 134 kB / 5.367 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002103/19.27, allocations: 244.4 kB / 5.367 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0153/19.29, allocations: 4.507 MB / 5.372 GB, free: 107.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/19.31, allocations: 4.958 MB / 5.377 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002725/19.31, allocations: 14.19 kB / 5.377 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001601/19.31, allocations: 2.875 kB / 5.377 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002801/19.31, allocations: 197 kB / 5.377 GB, free: 107.1 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.05543/19.36, allocations: 23.32 MB / 5.399 GB, free: 97.92 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008808/19.37, allocations: 4.602 MB / 5.404 GB, free: 96.54 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004821/19.38, allocations: 2 MB / 5.406 GB, free: 96.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001677/19.38, allocations: 1.006 MB / 5.407 GB, free: 95.46 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0051/19.39, allocations: 1.864 MB / 5.409 GB, free: 95.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=272): time 7.244e-06/19.39, allocations: 0 / 5.409 GB, free: 95.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=276): time 0.04002/19.43, allocations: 9.29 MB / 5.418 GB, free: 92.74 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/19.43, allocations: 191.9 kB / 5.418 GB, free: 92.55 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/19.44, allocations: 3.601 MB / 5.422 GB, free: 92.27 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009597/19.44, allocations: 35.64 kB / 5.422 GB, free: 92.24 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003962/19.44, allocations: 2.234 MB / 5.424 GB, free: 91.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002056/19.44, allocations: 0.9155 MB / 5.425 GB, free: 90.87 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003717/19.44, allocations: 3.281 kB / 5.425 GB, free: 90.87 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003318/19.44, allocations: 417.1 kB / 5.425 GB, free: 90.56 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/19.45, allocations: 1.354 MB / 5.426 GB, free: 90.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004629/19.45, allocations: 2.103 MB / 5.428 GB, free: 89.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00609/19.46, allocations: 1.899 MB / 5.43 GB, free: 89.78 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-05/19.46, allocations: 4.75 kB / 5.43 GB, free: 89.78 MB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01436/19.47, allocations: 4.004 MB / 5.434 GB, free: 89.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001665/19.47, allocations: 5.368 MB / 5.439 GB, free: 83.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/19.47, allocations: 10.94 kB / 5.439 GB, free: 83.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009945/19.48, allocations: 120.6 kB / 5.44 GB, free: 83.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008497/19.48, allocations: 0.6249 MB / 5.44 GB, free: 83.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005095/19.49, allocations: 2.689 MB / 5.443 GB, free: 82.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01362/19.5, allocations: 442.7 kB / 5.443 GB, free: 82.02 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/19.5, allocations: 116.2 kB / 5.443 GB, free: 82.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/19.5, allocations: 3.656 kB / 5.443 GB, free: 82.02 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01871/19.52, allocations: 3.607 MB / 5.447 GB, free: 81.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.821e-05/19.52, allocations: 10.56 kB / 5.447 GB, free: 81.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007961/19.52, allocations: 118.4 kB / 5.447 GB, free: 81.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007833/19.53, allocations: 0.6154 MB / 5.448 GB, free: 81.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/19.54, allocations: 2.074 MB / 5.45 GB, free: 80.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01277/19.55, allocations: 438.8 kB / 5.45 GB, free: 80.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/19.55, allocations: 114.7 kB / 5.45 GB, free: 80.59 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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.002094/19.55, allocations: 240.7 kB / 5.45 GB, free: 80.41 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01671/19.57, allocations: 3.452 MB / 5.454 GB, free: 80.07 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002212/19.57, allocations: 416.5 kB / 5.454 GB, free: 79.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/19.58, allocations: 3.771 MB / 5.458 GB, free: 79.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/19.58, allocations: 27.91 kB / 5.458 GB, free: 79.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/19.58, allocations: 0 / 5.458 GB, free: 79.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00994/19.59, allocations: 3.205 MB / 5.461 GB, free: 79.39 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.03096/19.63, allocations: 9.616 MB / 5.47 GB, free: 78.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/19.63, allocations: 3.844 kB / 5.47 GB, free: 78.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005688/19.63, allocations: 0.6283 MB / 5.471 GB, free: 78.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005451/19.63, allocations: 107.5 kB / 5.471 GB, free: 78.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007475/19.63, allocations: 50.41 kB / 5.471 GB, free: 78.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/19.64, allocations: 2.655 MB / 5.474 GB, free: 76.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/19.64, allocations: 5.812 kB / 5.474 GB, free: 76.44 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/19.65, allocations: 6.371 MB / 5.48 GB, free: 75.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005135/19.66, allocations: 1.056 MB / 5.481 GB, free: 74.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002025/19.66, allocations: 33.64 kB / 5.481 GB, free: 74.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008037/19.67, allocations: 412 kB / 5.481 GB, free: 74.95 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008812/19.67, allocations: 171 kB / 5.482 GB, free: 74.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005376/19.67, allocations: 111.7 kB / 5.482 GB, free: 74.94 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.008111/19.68, allocations: 2.805 MB / 5.484 GB, free: 74.06 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.51e-07/19.68, allocations: 0 / 5.484 GB, free: 74.06 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01865/19.7, allocations: 2.566 MB / 5.487 GB, free: 73.86 MB / 0.9167 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 (265): * Single equations (assignments): 257 * 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.02311/19.72, allocations: 10.6 MB / 5.497 GB, free: 68.62 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01424/19.73, allocations: 5.806 MB / 5.503 GB, free: 66.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/19.73, allocations: 2.625 kB / 5.503 GB, free: 66.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004463/19.74, allocations: 1.918 MB / 5.505 GB, free: 65.49 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02287/19.76, allocations: 2.644 MB / 5.507 GB, free: 65.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04153/19.8, allocations: 11.58 MB / 5.519 GB, free: 61.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008562/19.81, allocations: 4.07 MB / 5.523 GB, free: 59.26 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.02196/19.83, allocations: 3.822 MB / 5.526 GB, free: 56.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006011/19.84, allocations: 2.02 MB / 5.528 GB, free: 55.08 MB / 0.9167 GB Notification: Performance of SimCode: time 1.974e-06/19.84, allocations: 0 / 5.528 GB, free: 55.08 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.167/21.01, allocations: 153.7 MB / 5.678 GB, free: 123.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/21.01, allocations: 193.8 kB / 5.679 GB, free: 123 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.139/30.14, allocations: 3.906 kB / 5.679 GB, free: 123 MB / 0.9323 GB