Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001199/0.001199, allocations: 184.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008298/0.0008298, allocations: 82.48 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.639e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2088, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.105/7.313, allocations: 2.484 GB / 3.376 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/7.314, allocations: 92.81 kB / 3.376 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.861/16.17, allocations: 2.003 GB / 5.38 GB, free: 95.76 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.054e-06/16.18, allocations: 0 / 5.38 GB, free: 95.76 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001305/16.18, allocations: 131.1 kB / 5.38 GB, free: 95.74 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.02285/16.2, allocations: 5.192 MB / 5.385 GB, free: 93.81 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.6e-05/16.2, allocations: 10.58 kB / 5.385 GB, free: 93.81 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003581/16.2, allocations: 0.5543 MB / 5.385 GB, free: 93.75 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/16.21, allocations: 1.24 MB / 5.387 GB, free: 93.44 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/16.23, allocations: 6.706 MB / 5.393 GB, free: 92.64 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004529/16.23, allocations: 312.2 kB / 5.393 GB, free: 92.63 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/16.24, allocations: 417.1 kB / 5.394 GB, free: 92.63 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/16.25, allocations: 5.548 MB / 5.399 GB, free: 92.26 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003471/16.25, allocations: 9.125 kB / 5.399 GB, free: 92.26 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001866/16.26, allocations: 166.8 kB / 5.399 GB, free: 92.26 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002412/16.26, allocations: 192.4 kB / 5.4 GB, free: 92.25 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/16.27, allocations: 4.846 MB / 5.404 GB, free: 92.22 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.04692/16.32, allocations: 24.02 MB / 5.428 GB, free: 82.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006067/16.32, allocations: 3.627 MB / 5.431 GB, free: 82.62 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003524/16.33, allocations: 2.112 MB / 5.433 GB, free: 82.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/16.33, allocations: 0.9983 MB / 5.434 GB, free: 81.56 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003782/16.33, allocations: 1.856 MB / 5.436 GB, free: 81.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=273): time 5.961e-06/16.33, allocations: 0 / 5.436 GB, free: 81.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277): time 0.0223/16.35, allocations: 8.195 MB / 5.444 GB, free: 79.76 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/16.35, allocations: 141.8 kB / 5.444 GB, free: 79.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/16.36, allocations: 3.889 MB / 5.448 GB, free: 79.33 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/16.37, allocations: 81.45 kB / 5.448 GB, free: 79.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003704/16.37, allocations: 2.226 MB / 5.45 GB, free: 78.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001878/16.37, allocations: 0.9522 MB / 5.451 GB, free: 77.96 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006765/16.37, allocations: 51.75 kB / 5.451 GB, free: 77.96 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004257/16.37, allocations: 425 kB / 5.452 GB, free: 77.65 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003189/16.38, allocations: 1.436 MB / 5.453 GB, free: 77.64 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004086/16.38, allocations: 2.185 MB / 5.455 GB, free: 76.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/16.38, allocations: 1.92 MB / 5.457 GB, free: 76.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.664e-05/16.38, allocations: 7.562 kB / 5.457 GB, free: 76.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01117/16.4, allocations: 4.229 MB / 5.461 GB, free: 76.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001663/16.4, allocations: 5.203 MB / 5.466 GB, free: 71.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.347e-05/16.4, allocations: 13.58 kB / 5.466 GB, free: 71.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007042/16.4, allocations: 124.2 kB / 5.466 GB, free: 71.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00351/16.4, allocations: 0.62 MB / 5.467 GB, free: 71.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/16.4, allocations: 2.743 MB / 5.47 GB, free: 69.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007001/16.41, allocations: 0.4918 MB / 5.47 GB, free: 69.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/16.41, allocations: 117.3 kB / 5.47 GB, free: 69.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/16.41, allocations: 4.938 kB / 5.47 GB, free: 69.12 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009987/16.42, allocations: 3.884 MB / 5.474 GB, free: 68.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-05/16.42, allocations: 10.38 kB / 5.474 GB, free: 68.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004512/16.42, allocations: 122.6 kB / 5.474 GB, free: 68.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/16.43, allocations: 0.6133 MB / 5.475 GB, free: 68.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/16.43, allocations: 2.133 MB / 5.477 GB, free: 66.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00676/16.43, allocations: 498 kB / 5.477 GB, free: 66.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009268/16.44, allocations: 115.8 kB / 5.478 GB, free: 66.2 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.001886/16.44, allocations: 346.8 kB / 5.478 GB, free: 65.94 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00218/16.44, allocations: 428.5 kB / 5.478 GB, free: 65.72 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/16.45, allocations: 4.058 MB / 5.482 GB, free: 64.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/16.45, allocations: 26.09 kB / 5.482 GB, free: 64.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/16.45, allocations: 2.125 kB / 5.482 GB, free: 64.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006002/16.46, allocations: 3.399 MB / 5.486 GB, free: 62.8 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.02747/16.48, allocations: 10.24 MB / 5.496 GB, free: 58.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/16.48, allocations: 3.938 kB / 5.496 GB, free: 58.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003198/16.49, allocations: 0.617 MB / 5.496 GB, free: 58.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/16.49, allocations: 114.8 kB / 5.496 GB, free: 58.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006008/16.49, allocations: 85.95 kB / 5.496 GB, free: 58.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/16.49, allocations: 2.723 MB / 5.499 GB, free: 56.06 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/16.49, allocations: 4.969 kB / 5.499 GB, free: 56.06 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/16.5, allocations: 6.705 MB / 5.506 GB, free: 52.84 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004584/16.51, allocations: 1.088 MB / 5.507 GB, free: 52.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002126/16.51, allocations: 69.91 kB / 5.507 GB, free: 52.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006067/16.52, allocations: 455.4 kB / 5.507 GB, free: 52.13 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007344/16.52, allocations: 177.9 kB / 5.507 GB, free: 52.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006326/16.52, allocations: 110.1 kB / 5.507 GB, free: 52.08 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.008047/16.53, allocations: 3.067 MB / 5.51 GB, free: 50.95 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.92e-07/16.53, allocations: 10.31 kB / 5.51 GB, free: 50.95 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01675/16.54, allocations: 2.746 MB / 5.513 GB, free: 49.86 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.02007/16.56, allocations: 10.76 MB / 5.524 GB, free: 40.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01215/16.57, allocations: 6.139 MB / 5.53 GB, free: 34.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/16.57, allocations: 4 kB / 5.53 GB, free: 34.67 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003561/16.58, allocations: 2.022 MB / 5.532 GB, free: 32.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01673/16.59, allocations: 2.793 MB / 5.534 GB, free: 30.91 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03857/16.63, allocations: 11.71 MB / 5.546 GB, free: 20.88 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005881/16.64, allocations: 4.062 MB / 5.55 GB, free: 17.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01605/16.66, allocations: 3.962 MB / 5.554 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005402/16.66, allocations: 2.028 MB / 5.556 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of SimCode: time 1.463e-06/16.66, allocations: 0 / 5.556 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.079/17.74, allocations: 188.2 MB / 5.739 GB, free: 96.76 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/17.74, allocations: 246.8 kB / 5.74 GB, free: 96.43 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/26, allocations: 0 / 5.74 GB, free: 96.43 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)