Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001266/0.001266, allocations: 184.8 kB / 366.7 MB, free: 1.648 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.635/1.635, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008816/0.0008816, allocations: 95.45 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.216e-05/2.217e-05, allocations: 4 kB / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7492/0.7492, allocations: 116.3 MB / 0.9732 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.096/6.845, allocations: 2.368 GB / 3.341 GB, free: 72.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/6.845, allocations: 87.83 kB / 3.341 GB, free: 72.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.097/14.94, allocations: 2.041 GB / 5.383 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/14.94, allocations: 3.938 kB / 5.383 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0009655/14.94, allocations: 127.5 kB / 5.383 GB, free: 108.3 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.01861/14.96, allocations: 5.176 MB / 5.388 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/14.96, allocations: 11 kB / 5.388 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008994/14.97, allocations: 1.239 MB / 5.389 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/14.99, allocations: 6.664 MB / 5.395 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/14.99, allocations: 126.7 kB / 5.396 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/14.99, allocations: 246.6 kB / 5.396 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009506/15, allocations: 4.476 MB / 5.4 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/15.01, allocations: 4.947 MB / 5.405 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/15.01, allocations: 11.19 kB / 5.405 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00047/15.01, allocations: 3.688 kB / 5.405 GB, free: 105 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/15.01, allocations: 198.2 kB / 5.405 GB, free: 105 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.03453/15.05, allocations: 23.3 MB / 5.428 GB, free: 95.81 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/15.05, allocations: 4.782 MB / 5.433 GB, free: 94.23 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/15.05, allocations: 2.013 MB / 5.435 GB, free: 94.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/15.05, allocations: 1.001 MB / 5.436 GB, free: 93.16 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002485/15.06, allocations: 1.866 MB / 5.437 GB, free: 92.97 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=272): time 4.278e-06/15.06, allocations: 0 / 5.437 GB, free: 92.97 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.02226/15.08, allocations: 9.303 MB / 5.446 GB, free: 90.46 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/15.08, allocations: 193.5 kB / 5.447 GB, free: 90.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005653/15.08, allocations: 3.572 MB / 5.45 GB, free: 89.99 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007848/15.08, allocations: 33.45 kB / 5.45 GB, free: 89.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002331/15.09, allocations: 2.218 MB / 5.452 GB, free: 89.21 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001377/15.09, allocations: 0.9145 MB / 5.453 GB, free: 88.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/15.09, allocations: 3.312 kB / 5.453 GB, free: 88.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000183/15.09, allocations: 421.7 kB / 5.454 GB, free: 88.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/15.09, allocations: 1.363 MB / 5.455 GB, free: 88.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/15.09, allocations: 2.098 MB / 5.457 GB, free: 87.57 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002986/15.1, allocations: 1.919 MB / 5.459 GB, free: 87.51 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/15.1, allocations: 3.688 kB / 5.459 GB, free: 87.51 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.007531/15.1, allocations: 4.032 MB / 5.463 GB, free: 87.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001359/15.1, allocations: 5.358 MB / 5.468 GB, free: 81.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/15.1, allocations: 12.34 kB / 5.468 GB, free: 81.65 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/15.11, allocations: 118.8 kB / 5.468 GB, free: 81.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/15.11, allocations: 0.6272 MB / 5.469 GB, free: 81.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/15.11, allocations: 2.684 MB / 5.471 GB, free: 79.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00677/15.12, allocations: 445.6 kB / 5.472 GB, free: 79.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/15.12, allocations: 117.9 kB / 5.472 GB, free: 79.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/15.12, allocations: 4.188 kB / 5.472 GB, free: 79.75 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005973/15.12, allocations: 3.62 MB / 5.476 GB, free: 79.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/15.12, allocations: 11.12 kB / 5.476 GB, free: 79.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/15.12, allocations: 130.1 kB / 5.476 GB, free: 79.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/15.13, allocations: 0.6121 MB / 5.476 GB, free: 79.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/15.13, allocations: 2.073 MB / 5.478 GB, free: 78.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005583/15.13, allocations: 431.5 kB / 5.479 GB, free: 78.32 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/15.13, allocations: 113.5 kB / 5.479 GB, free: 78.32 MB / 0.9948 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.000941/15.13, allocations: 253.1 kB / 5.479 GB, free: 78.14 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/15.14, allocations: 414.5 kB / 5.479 GB, free: 77.94 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00706/15.14, allocations: 3.802 MB / 5.483 GB, free: 77.72 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.984e-05/15.14, allocations: 31.44 kB / 5.483 GB, free: 77.72 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/15.14, allocations: 7.719 kB / 5.483 GB, free: 77.72 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004857/15.15, allocations: 3.216 MB / 5.486 GB, free: 77.46 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.0222/15.17, allocations: 9.78 MB / 5.496 GB, free: 76.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/15.17, allocations: 6.031 kB / 5.496 GB, free: 76.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/15.17, allocations: 0.6274 MB / 5.496 GB, free: 76.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003626/15.17, allocations: 111.3 kB / 5.497 GB, free: 76.24 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/15.17, allocations: 47.67 kB / 5.497 GB, free: 76.24 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/15.18, allocations: 2.662 MB / 5.499 GB, free: 74.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/15.18, allocations: 3.688 kB / 5.499 GB, free: 74.38 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009391/15.19, allocations: 6.389 MB / 5.505 GB, free: 72.84 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003633/15.19, allocations: 1.033 MB / 5.506 GB, free: 72.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/15.19, allocations: 38.02 kB / 5.507 GB, free: 72.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004456/15.19, allocations: 403.6 kB / 5.507 GB, free: 72.23 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/15.2, allocations: 170.9 kB / 5.507 GB, free: 72.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/15.2, allocations: 111.5 kB / 5.507 GB, free: 72.18 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.004792/15.2, allocations: 2.783 MB / 5.51 GB, free: 71.11 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.443e-06/15.2, allocations: 0 / 5.51 GB, free: 71.11 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0131/15.21, allocations: 2.547 MB / 5.512 GB, free: 70.91 MB / 0.9948 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.004993/15.22, allocations: 2.985 MB / 5.515 GB, free: 69.86 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008647/15.23, allocations: 5.842 MB / 5.521 GB, free: 67.52 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/15.23, allocations: 3.625 kB / 5.521 GB, free: 67.52 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002532/15.23, allocations: 1.925 MB / 5.523 GB, free: 66.71 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01676/15.25, allocations: 2.643 MB / 5.525 GB, free: 66.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/15.27, allocations: 9.861 MB / 5.535 GB, free: 62.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003571/15.27, allocations: 4.038 MB / 5.539 GB, free: 61.41 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01139/15.28, allocations: 3.829 MB / 5.543 GB, free: 61.18 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008959/15.28, allocations: 257.4 kB / 5.543 GB, free: 61.17 MB / 0.9948 GB Notification: Performance of SimCode: time 1.683e-06/15.28, allocations: 0 / 5.543 GB, free: 61.17 MB / 0.9948 GB Notification: Performance of Templates: time 0.871/16.15, allocations: 106.3 MB / 5.647 GB, free: 134.9 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)