Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001085/0.001085, allocations: 172.9 kB / 361.4 MB, free: 6.84 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.745/1.745, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009561/0.0009563, allocations: 98.52 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.12e-05, allocations: 12 kB / 0.8518 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7781/0.7781, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.293/7.071, allocations: 2.367 GB / 3.331 GB, free: 158 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/7.072, allocations: 87.95 kB / 3.331 GB, free: 157.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.96/16.03, allocations: 2.041 GB / 5.373 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.524e-06/16.03, allocations: 0 / 5.373 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001498/16.03, allocations: 131.1 kB / 5.373 GB, free: 109 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.02584/16.06, allocations: 5.182 MB / 5.378 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/16.06, allocations: 11.14 kB / 5.378 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/16.07, allocations: 1.237 MB / 5.379 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02492/16.1, allocations: 6.675 MB / 5.386 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005669/16.1, allocations: 128.1 kB / 5.386 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002996/16.1, allocations: 244.2 kB / 5.386 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01625/16.12, allocations: 4.477 MB / 5.39 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02214/16.14, allocations: 4.933 MB / 5.395 GB, free: 106 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004187/16.14, allocations: 9.594 kB / 5.395 GB, free: 106 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/16.14, allocations: 8.703 kB / 5.395 GB, free: 106 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004077/16.14, allocations: 190.6 kB / 5.395 GB, free: 106 MB / 0.9792 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.06635/16.21, allocations: 23.31 MB / 5.418 GB, free: 96.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007974/16.22, allocations: 4.783 MB / 5.423 GB, free: 95.23 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003744/16.22, allocations: 2.022 MB / 5.425 GB, free: 95.19 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/16.22, allocations: 0.9955 MB / 5.426 GB, free: 94.16 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003906/16.22, allocations: 1.868 MB / 5.428 GB, free: 93.96 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=272): time 1.067e-05/16.22, allocations: 0 / 5.428 GB, free: 93.96 MB / 0.9792 GB Notification: Performance of matching and sorting (n=276): time 0.0303/16.25, allocations: 9.3 MB / 5.437 GB, free: 91.46 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/16.26, allocations: 185 kB / 5.437 GB, free: 91.27 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006782/16.26, allocations: 3.579 MB / 5.44 GB, free: 90.99 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0009778/16.26, allocations: 34.73 kB / 5.44 GB, free: 90.96 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002701/16.27, allocations: 2.216 MB / 5.443 GB, free: 90.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001753/16.27, allocations: 0.9138 MB / 5.443 GB, free: 89.6 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/16.27, allocations: 0 / 5.443 GB, free: 89.6 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002043/16.27, allocations: 424.7 kB / 5.444 GB, free: 89.29 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/16.27, allocations: 1.367 MB / 5.445 GB, free: 89.29 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/16.27, allocations: 2.102 MB / 5.447 GB, free: 88.56 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/16.28, allocations: 1.912 MB / 5.449 GB, free: 88.51 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/16.28, allocations: 8.281 kB / 5.449 GB, free: 88.51 MB / 0.9792 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.007887/16.28, allocations: 4.022 MB / 5.453 GB, free: 88.18 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001406/16.28, allocations: 5.37 MB / 5.458 GB, free: 82.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/16.29, allocations: 10.69 kB / 5.458 GB, free: 82.65 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004735/16.29, allocations: 124.3 kB / 5.458 GB, free: 82.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/16.29, allocations: 0.6225 MB / 5.459 GB, free: 82.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/16.29, allocations: 2.686 MB / 5.462 GB, free: 80.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006877/16.3, allocations: 445.6 kB / 5.462 GB, free: 80.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007805/16.3, allocations: 121.3 kB / 5.462 GB, free: 80.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/16.3, allocations: 3.938 kB / 5.462 GB, free: 80.75 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009504/16.31, allocations: 3.616 MB / 5.466 GB, free: 80.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.314e-05/16.31, allocations: 11.53 kB / 5.466 GB, free: 80.65 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/16.31, allocations: 132 kB / 5.466 GB, free: 80.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/16.31, allocations: 0.6102 MB / 5.466 GB, free: 80.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/16.31, allocations: 2.074 MB / 5.468 GB, free: 79.36 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00678/16.32, allocations: 437.7 kB / 5.469 GB, free: 79.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000848/16.32, allocations: 113.4 kB / 5.469 GB, free: 79.32 MB / 0.9792 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.001734/16.32, allocations: 242.4 kB / 5.469 GB, free: 79.15 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009721/16.33, allocations: 3.466 MB / 5.473 GB, free: 78.81 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002069/16.33, allocations: 413.9 kB / 5.473 GB, free: 78.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009863/16.34, allocations: 3.798 MB / 5.477 GB, free: 78.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.651e-05/16.34, allocations: 28.23 kB / 5.477 GB, free: 78.39 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/16.34, allocations: 3.719 kB / 5.477 GB, free: 78.39 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006516/16.35, allocations: 3.223 MB / 5.48 GB, free: 78.13 MB / 0.9792 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.02778/16.38, allocations: 9.78 MB / 5.489 GB, free: 76.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/16.38, allocations: 3.938 kB / 5.489 GB, free: 76.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/16.38, allocations: 0.6265 MB / 5.49 GB, free: 76.93 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/16.38, allocations: 108.2 kB / 5.49 GB, free: 76.92 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000568/16.38, allocations: 49.64 kB / 5.49 GB, free: 76.92 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/16.39, allocations: 2.655 MB / 5.493 GB, free: 75.06 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/16.39, allocations: 4.547 kB / 5.493 GB, free: 75.06 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/16.4, allocations: 6.394 MB / 5.499 GB, free: 73.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004524/16.4, allocations: 1.036 MB / 5.5 GB, free: 73.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002157/16.41, allocations: 31.45 kB / 5.5 GB, free: 73.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005941/16.41, allocations: 411.2 kB / 5.5 GB, free: 73.57 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005709/16.41, allocations: 163.9 kB / 5.501 GB, free: 73.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005456/16.41, allocations: 111.5 kB / 5.501 GB, free: 73.57 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0075/16.42, allocations: 2.791 MB / 5.503 GB, free: 73.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.21e-07/16.42, allocations: 0 / 5.503 GB, free: 73.38 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.017/16.44, allocations: 2.549 MB / 5.506 GB, free: 73.32 MB / 0.9792 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.02046/16.46, allocations: 10.61 MB / 5.516 GB, free: 69.99 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01211/16.47, allocations: 5.835 MB / 5.522 GB, free: 69.44 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/16.47, allocations: 3.438 kB / 5.522 GB, free: 69.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003574/16.47, allocations: 1.919 MB / 5.524 GB, free: 69.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01708/16.49, allocations: 2.644 MB / 5.526 GB, free: 69.15 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03972/16.53, allocations: 11.54 MB / 5.538 GB, free: 67.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009294/16.54, allocations: 4.036 MB / 5.542 GB, free: 66.24 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01756/16.56, allocations: 3.829 MB / 5.545 GB, free: 66.19 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005809/16.56, allocations: 2.012 MB / 5.547 GB, free: 66.19 MB / 0.9792 GB Notification: Performance of SimCode: time 1.483e-06/16.56, allocations: 2.469 kB / 5.547 GB, free: 66.19 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2667/16.83, allocations: 153.6 MB / 5.697 GB, free: 7.926 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/16.83, allocations: 197.6 kB / 5.698 GB, free: 7.688 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/24.14, allocations: 0 / 5.698 GB, free: 7.688 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)