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.638/1.638, allocations: 285.7 MB / 293.1 MB, free: 10.16 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.001084/0.001084, allocations: 176.9 kB / 361.4 MB, free: 6.812 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.68/1.68, allocations: 205.3 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.0008963/0.0008965, allocations: 87.27 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.916e-05, allocations: 8 kB / 0.8517 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7271, allocations: 115.3 MB / 0.9644 GB, free: 79.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.001/6.728, allocations: 2.367 GB / 3.331 GB, free: 109.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/6.729, allocations: 91.88 kB / 3.331 GB, free: 109.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.941/14.67, allocations: 2.041 GB / 5.373 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.346e-06/14.67, allocations: 0 / 5.373 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00104/14.67, allocations: 135.2 kB / 5.373 GB, free: 112.2 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.02098/14.69, allocations: 5.179 MB / 5.378 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/14.69, allocations: 7.156 kB / 5.378 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009653/14.7, allocations: 1.237 MB / 5.379 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/14.72, allocations: 6.665 MB / 5.386 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/14.72, allocations: 126.9 kB / 5.386 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/14.72, allocations: 245.5 kB / 5.386 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0101/14.73, allocations: 4.479 MB / 5.39 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/14.74, allocations: 4.938 MB / 5.395 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/14.74, allocations: 18.3 kB / 5.395 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005006/14.74, allocations: 2.281 kB / 5.395 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/14.74, allocations: 192.7 kB / 5.395 GB, free: 109.1 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.03724/14.78, allocations: 23.31 MB / 5.418 GB, free: 99.89 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005324/14.79, allocations: 4.773 MB / 5.423 GB, free: 98.32 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002587/14.79, allocations: 2.02 MB / 5.425 GB, free: 98.28 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/14.79, allocations: 1.003 MB / 5.426 GB, free: 97.24 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002895/14.79, allocations: 1.857 MB / 5.428 GB, free: 97.05 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=272): time 7.544e-06/14.79, allocations: 7.188 kB / 5.428 GB, free: 97.05 MB / 0.9792 GB Notification: Performance of matching and sorting (n=276): time 0.02817/14.82, allocations: 9.3 MB / 5.437 GB, free: 94.55 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/14.82, allocations: 184.4 kB / 5.437 GB, free: 94.36 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009401/14.83, allocations: 3.579 MB / 5.44 GB, free: 94.08 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00101/14.83, allocations: 36.67 kB / 5.44 GB, free: 94.05 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003324/14.84, allocations: 2.221 MB / 5.442 GB, free: 93.29 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001832/14.84, allocations: 0.9146 MB / 5.443 GB, free: 92.69 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005767/14.84, allocations: 1.688 kB / 5.443 GB, free: 92.69 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003164/14.84, allocations: 418.3 kB / 5.444 GB, free: 92.38 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/14.84, allocations: 1.37 MB / 5.445 GB, free: 92.38 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003141/14.84, allocations: 2.096 MB / 5.447 GB, free: 91.65 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004052/14.85, allocations: 1.917 MB / 5.449 GB, free: 91.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.307e-05/14.85, allocations: 3.719 kB / 5.449 GB, free: 91.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.009285/14.86, allocations: 4.029 MB / 5.453 GB, free: 91.27 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00129/14.86, allocations: 5.367 MB / 5.458 GB, free: 85.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.6e-05/14.86, allocations: 15.25 kB / 5.458 GB, free: 85.74 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004601/14.86, allocations: 122 kB / 5.458 GB, free: 85.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/14.86, allocations: 0.6326 MB / 5.459 GB, free: 85.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/14.86, allocations: 2.682 MB / 5.462 GB, free: 83.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005966/14.87, allocations: 438.3 kB / 5.462 GB, free: 83.83 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005933/14.87, allocations: 118 kB / 5.462 GB, free: 83.83 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/14.87, allocations: 11.31 kB / 5.462 GB, free: 83.83 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007345/14.88, allocations: 3.618 MB / 5.466 GB, free: 83.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/14.88, allocations: 11.5 kB / 5.466 GB, free: 83.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/14.88, allocations: 123 kB / 5.466 GB, free: 83.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/14.88, allocations: 0.6152 MB / 5.466 GB, free: 83.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/14.88, allocations: 2.078 MB / 5.468 GB, free: 82.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005827/14.89, allocations: 425.8 kB / 5.469 GB, free: 82.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005515/14.89, allocations: 120.5 kB / 5.469 GB, free: 82.41 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.001262/14.89, allocations: 249.5 kB / 5.469 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/14.89, allocations: 419.6 kB / 5.47 GB, free: 82.02 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008791/14.9, allocations: 3.788 MB / 5.473 GB, free: 81.81 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/14.9, allocations: 26.28 kB / 5.473 GB, free: 81.81 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/14.9, allocations: 3.781 kB / 5.473 GB, free: 81.81 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005349/14.91, allocations: 3.22 MB / 5.476 GB, free: 81.55 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.02198/14.93, allocations: 9.787 MB / 5.486 GB, free: 80.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/14.93, allocations: 3.531 kB / 5.486 GB, free: 80.34 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/14.93, allocations: 0.6303 MB / 5.487 GB, free: 80.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003898/14.93, allocations: 104.2 kB / 5.487 GB, free: 80.33 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003842/14.93, allocations: 48.05 kB / 5.487 GB, free: 80.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/14.94, allocations: 2.659 MB / 5.489 GB, free: 78.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/14.94, allocations: 7.984 kB / 5.489 GB, free: 78.46 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/14.95, allocations: 6.394 MB / 5.496 GB, free: 77.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0041/14.95, allocations: 1.037 MB / 5.497 GB, free: 77 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001856/14.95, allocations: 30.11 kB / 5.497 GB, free: 77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005277/14.96, allocations: 406.8 kB / 5.497 GB, free: 76.97 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004186/14.96, allocations: 168.8 kB / 5.497 GB, free: 76.96 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004291/14.96, allocations: 115.2 kB / 5.497 GB, free: 76.96 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.006995/14.97, allocations: 2.779 MB / 5.5 GB, free: 76.79 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.41e-07/14.97, allocations: 0 / 5.5 GB, free: 76.79 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01953/14.99, allocations: 2.545 MB / 5.503 GB, free: 76.73 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.006234/14.99, allocations: 3.003 MB / 5.505 GB, free: 75.73 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01113/15, allocations: 5.83 MB / 5.511 GB, free: 75.18 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/15, allocations: 6.906 kB / 5.511 GB, free: 75.18 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003264/15.01, allocations: 1.923 MB / 5.513 GB, free: 74.93 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01595/15.02, allocations: 2.652 MB / 5.516 GB, free: 74.87 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02597/15.05, allocations: 9.856 MB / 5.525 GB, free: 73 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005825/15.05, allocations: 4.041 MB / 5.529 GB, free: 72.04 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0138/15.07, allocations: 3.83 MB / 5.533 GB, free: 71.98 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/15.07, allocations: 257.1 kB / 5.533 GB, free: 71.96 MB / 0.9792 GB Notification: Performance of SimCode: time 1.352e-06/15.07, allocations: 0 / 5.533 GB, free: 71.96 MB / 0.9792 GB Notification: Performance of Templates: time 0.1649/15.23, allocations: 106.3 MB / 5.637 GB, free: 7.797 MB / 0.9792 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)