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: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.689/1.689, allocations: 285.4 MB / 298 MB, free: 5.945 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.001268/0.001269, allocations: 180.8 kB / 366.4 MB, free: 2.098 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.725/1.725, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0009126/0.0009127, allocations: 100.5 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.076e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8368, allocations: 115.3 MB / 0.9709 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.192/7.029, allocations: 2.368 GB / 3.338 GB, free: 84.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/7.029, allocations: 92.12 kB / 3.339 GB, free: 83.97 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.751/15.78, allocations: 2.059 GB / 5.398 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.433e-06/15.78, allocations: 3.844 kB / 5.398 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001488/15.78, allocations: 135.4 kB / 5.398 GB, free: 108.6 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.02562/15.81, allocations: 5.174 MB / 5.403 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/15.81, allocations: 10.69 kB / 5.403 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/15.82, allocations: 1.233 MB / 5.404 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02365/15.84, allocations: 6.67 MB / 5.411 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006223/15.84, allocations: 306.1 kB / 5.411 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003017/15.85, allocations: 417.5 kB / 5.411 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02311/15.87, allocations: 5.516 MB / 5.417 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004487/15.87, allocations: 7.031 kB / 5.417 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002387/15.87, allocations: 166.1 kB / 5.417 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003768/15.87, allocations: 188.8 kB / 5.417 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01617/15.89, allocations: 4.827 MB / 5.422 GB, free: 105.3 MB / 0.9948 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.05888/15.95, allocations: 23.98 MB / 5.445 GB, free: 96.03 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006768/15.96, allocations: 3.823 MB / 5.449 GB, free: 95.57 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004029/15.96, allocations: 2.115 MB / 5.451 GB, free: 95.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/15.96, allocations: 0.9912 MB / 5.452 GB, free: 94.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004315/15.97, allocations: 1.857 MB / 5.454 GB, free: 94.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 8.566e-06/15.97, allocations: 0 / 5.454 GB, free: 94.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.0238/15.99, allocations: 8.225 MB / 5.462 GB, free: 92.71 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/15.99, allocations: 136.3 kB / 5.462 GB, free: 92.58 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01183/16, allocations: 3.865 MB / 5.466 GB, free: 92.29 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001063/16, allocations: 85.89 kB / 5.466 GB, free: 92.25 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00379/16.01, allocations: 2.21 MB / 5.468 GB, free: 91.54 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001949/16.01, allocations: 0.9515 MB / 5.469 GB, free: 90.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000611/16.01, allocations: 55.69 kB / 5.469 GB, free: 90.93 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0004517/16.01, allocations: 420.8 kB / 5.469 GB, free: 90.62 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/16.01, allocations: 1.445 MB / 5.471 GB, free: 90.61 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003946/16.02, allocations: 2.2 MB / 5.473 GB, free: 89.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/16.02, allocations: 1.928 MB / 5.475 GB, free: 89.77 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/16.02, allocations: 0 / 5.475 GB, free: 89.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01154/16.03, allocations: 4.248 MB / 5.479 GB, free: 89.37 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00169/16.03, allocations: 5.21 MB / 5.484 GB, free: 84.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-05/16.03, allocations: 15.5 kB / 5.484 GB, free: 84.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005696/16.03, allocations: 123.6 kB / 5.484 GB, free: 84.03 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/16.04, allocations: 0.6183 MB / 5.485 GB, free: 84.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/16.04, allocations: 2.744 MB / 5.487 GB, free: 82.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006891/16.05, allocations: 0.4975 MB / 5.488 GB, free: 82.08 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006199/16.05, allocations: 114.5 kB / 5.488 GB, free: 82.08 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/16.05, allocations: 8.266 kB / 5.488 GB, free: 82.07 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007924/16.06, allocations: 3.898 MB / 5.492 GB, free: 81.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.53e-05/16.06, allocations: 11.47 kB / 5.492 GB, free: 81.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/16.06, allocations: 119.3 kB / 5.492 GB, free: 81.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/16.06, allocations: 0.616 MB / 5.493 GB, free: 81.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/16.06, allocations: 2.137 MB / 5.495 GB, free: 80.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006632/16.07, allocations: 494.5 kB / 5.495 GB, free: 80.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005329/16.07, allocations: 115.6 kB / 5.495 GB, free: 80.54 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 () * 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.001388/16.07, allocations: 341.8 kB / 5.496 GB, free: 80.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/16.07, allocations: 427.4 kB / 5.496 GB, free: 80.14 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009439/16.08, allocations: 4.076 MB / 5.5 GB, free: 79.87 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/16.08, allocations: 29.81 kB / 5.5 GB, free: 79.87 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/16.08, allocations: 3.312 kB / 5.5 GB, free: 79.87 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005604/16.09, allocations: 3.419 MB / 5.503 GB, free: 79.54 MB / 0.9948 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.03475/16.12, allocations: 10.4 MB / 5.514 GB, free: 77.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.974e-05/16.12, allocations: 7.094 kB / 5.514 GB, free: 77.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003486/16.12, allocations: 0.6203 MB / 5.514 GB, free: 77.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005564/16.13, allocations: 114.5 kB / 5.514 GB, free: 77.65 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007126/16.13, allocations: 82.45 kB / 5.514 GB, free: 77.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/16.13, allocations: 2.727 MB / 5.517 GB, free: 75.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/16.13, allocations: 6.031 kB / 5.517 GB, free: 75.29 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/16.14, allocations: 6.733 MB / 5.524 GB, free: 72.06 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004696/16.15, allocations: 1.059 MB / 5.525 GB, free: 71.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002166/16.15, allocations: 71.95 kB / 5.525 GB, free: 71.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005959/16.15, allocations: 450.3 kB / 5.525 GB, free: 71.37 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005558/16.15, allocations: 177.1 kB / 5.525 GB, free: 71.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004956/16.15, allocations: 108 kB / 5.525 GB, free: 71.32 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.007822/16.16, allocations: 3.045 MB / 5.528 GB, free: 70.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2e-07/16.16, allocations: 2.844 kB / 5.528 GB, free: 70.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01636/16.18, allocations: 2.743 MB / 5.531 GB, free: 69.86 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) * 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.006476/16.19, allocations: 2.795 MB / 5.534 GB, free: 68.79 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01422/16.2, allocations: 6.167 MB / 5.54 GB, free: 66.36 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.045e-05/16.2, allocations: 3.188 kB / 5.54 GB, free: 66.36 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004279/16.2, allocations: 2.025 MB / 5.542 GB, free: 65.52 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01667/16.22, allocations: 2.797 MB / 5.544 GB, free: 65.06 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/16.25, allocations: 9.878 MB / 5.554 GB, free: 61.53 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005353/16.25, allocations: 4.034 MB / 5.558 GB, free: 59.75 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0126/16.26, allocations: 3.95 MB / 5.562 GB, free: 57.35 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/16.27, allocations: 254.8 kB / 5.562 GB, free: 57.11 MB / 0.9948 GB Notification: Performance of SimCode: time 1.724e-06/16.27, allocations: 0 / 5.562 GB, free: 57.11 MB / 0.9948 GB Notification: Performance of Templates: time 0.9917/17.26, allocations: 136.4 MB / 5.695 GB, free: 127.9 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)