Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.576/2.576, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001482/0.001482, allocations: 188.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 98.84 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004885, allocations: 16.47 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2115, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.852/8.063, allocations: 2.367 GB / 3.346 GB, free: 248.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/8.064, allocations: 97.2 kB / 3.346 GB, free: 248.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.37/18.43, allocations: 2.063 GB / 5.408 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.445e-06/18.43, allocations: 0 / 5.408 GB, free: 40.61 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001121/18.43, allocations: 128 kB / 5.409 GB, free: 40.48 MB / 0.9948 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.03019/18.46, allocations: 6.298 MB / 5.415 GB, free: 34.13 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/18.46, allocations: 8.031 kB / 5.415 GB, free: 34.12 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002986/18.47, allocations: 0.5548 MB / 5.415 GB, free: 33.56 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/18.48, allocations: 1.242 MB / 5.416 GB, free: 32.31 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/18.5, allocations: 6.71 MB / 5.423 GB, free: 25.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004569/18.5, allocations: 303.8 kB / 5.423 GB, free: 25.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/18.51, allocations: 415.9 kB / 5.424 GB, free: 24.84 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/18.53, allocations: 5.59 MB / 5.429 GB, free: 19.17 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004654/18.53, allocations: 15.78 kB / 5.429 GB, free: 19.16 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002628/18.53, allocations: 164 kB / 5.429 GB, free: 19 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000428/18.53, allocations: 191.7 kB / 5.43 GB, free: 18.81 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02323/18.55, allocations: 4.925 MB / 5.434 GB, free: 13.88 MB / 0.9948 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.8457/19.4, allocations: 23.97 MB / 5.458 GB, free: 117.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/19.41, allocations: 3.854 MB / 5.461 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001959/19.41, allocations: 0.9986 MB / 5.462 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006623/19.42, allocations: 1.88 MB / 5.464 GB, free: 115.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 9.027e-06/19.42, allocations: 0 / 5.464 GB, free: 115.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.0403/19.46, allocations: 9.92 MB / 5.474 GB, free: 114.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/19.46, allocations: 139.4 kB / 5.474 GB, free: 114.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/19.47, allocations: 3.908 MB / 5.478 GB, free: 114 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009937/19.47, allocations: 81.14 kB / 5.478 GB, free: 113.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003965/19.48, allocations: 2.21 MB / 5.48 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002041/19.48, allocations: 0.9504 MB / 5.481 GB, free: 112.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000506/19.48, allocations: 56.97 kB / 5.481 GB, free: 112.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003885/19.48, allocations: 421.4 kB / 5.482 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/19.48, allocations: 1.48 MB / 5.483 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005543/19.49, allocations: 2.224 MB / 5.485 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006403/19.5, allocations: 1.954 MB / 5.487 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.78e-05/19.5, allocations: 2.594 kB / 5.487 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01848/19.51, allocations: 4.305 MB / 5.491 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001368/19.52, allocations: 5.205 MB / 5.496 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.48e-05/19.52, allocations: 10.5 kB / 5.496 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007634/19.52, allocations: 124.5 kB / 5.497 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005949/19.52, allocations: 0.6161 MB / 5.497 GB, free: 106.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/19.53, allocations: 2.786 MB / 5.5 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0097/19.54, allocations: 0.4907 MB / 5.5 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/19.54, allocations: 117 kB / 5.5 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/19.54, allocations: 2.875 kB / 5.5 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01394/19.55, allocations: 3.967 MB / 5.504 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/19.55, allocations: 12.5 kB / 5.504 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/19.55, allocations: 121.8 kB / 5.504 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005719/19.56, allocations: 0.6126 MB / 5.505 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/19.56, allocations: 2.174 MB / 5.507 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009325/19.57, allocations: 495 kB / 5.508 GB, free: 102.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/19.57, allocations: 116 kB / 5.508 GB, free: 102.6 MB / 0.9948 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.006695/19.58, allocations: 2.156 MB / 5.51 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/19.58, allocations: 426.8 kB / 5.51 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/19.59, allocations: 4.118 MB / 5.514 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/19.6, allocations: 27 kB / 5.514 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/19.6, allocations: 1.031 kB / 5.514 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01029/19.61, allocations: 3.459 MB / 5.518 GB, free: 101.5 MB / 0.9948 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.03382/19.64, allocations: 10.45 MB / 5.528 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/19.64, allocations: 3.688 kB / 5.528 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005926/19.65, allocations: 0.6215 MB / 5.528 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006039/19.65, allocations: 113.7 kB / 5.529 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008157/19.65, allocations: 79.23 kB / 5.529 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003282/19.65, allocations: 2.768 MB / 5.531 GB, free: 98.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/19.65, allocations: 9.938 kB / 5.531 GB, free: 98.47 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/19.67, allocations: 6.798 MB / 5.538 GB, free: 97.19 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004875/19.67, allocations: 1.059 MB / 5.539 GB, free: 96.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001866/19.67, allocations: 75.55 kB / 5.539 GB, free: 96.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008064/19.68, allocations: 447 kB / 5.54 GB, free: 96.87 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009042/19.68, allocations: 169.2 kB / 5.54 GB, free: 96.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004667/19.68, allocations: 115 kB / 5.54 GB, free: 96.86 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.008448/19.69, allocations: 3.093 MB / 5.543 GB, free: 96.68 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.152e-06/19.69, allocations: 0 / 5.543 GB, free: 96.68 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01763/19.71, allocations: 2.747 MB / 5.546 GB, free: 96.68 MB / 0.9948 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.0227/19.73, allocations: 10.85 MB / 5.556 GB, free: 93.25 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01618/19.75, allocations: 6.123 MB / 5.562 GB, free: 92.68 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/19.75, allocations: 3.875 kB / 5.562 GB, free: 92.68 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005126/19.75, allocations: 2.048 MB / 5.564 GB, free: 92.42 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02416/19.78, allocations: 2.798 MB / 5.567 GB, free: 92.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04627/19.82, allocations: 28.97 MB / 5.595 GB, free: 72.67 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008213/19.83, allocations: 4.031 MB / 5.599 GB, free: 71.85 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01411/19.85, allocations: 2.384 MB / 5.601 GB, free: 71.81 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006527/19.85, allocations: 2.09 MB / 5.603 GB, free: 71.8 MB / 0.9948 GB Notification: Performance of SimCode: time 1.583e-06/19.85, allocations: 3.719 kB / 5.603 GB, free: 71.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3853/20.24, allocations: 174.6 MB / 5.774 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/20.24, allocations: 261.7 kB / 5.774 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.6/29.84, allocations: 0 / 5.774 GB, free: 10.22 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)