Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.263/2.263, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001334, allocations: 177 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.32/2.32, allocations: 205.4 MB / 0.5772 GB, free: 20.82 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.0009431/0.0009425, allocations: 96.38 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.000468, allocations: 15.69 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.904/9.114, allocations: 2.484 GB / 3.384 GB, free: 36.23 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004986/9.115, allocations: 97.59 kB / 3.384 GB, free: 36.18 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 13.37/22.48, allocations: 1.989 GB / 5.373 GB, free: 98.27 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.026e-06/22.48, allocations: 0 / 5.373 GB, free: 98.27 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001181/22.48, allocations: 140.8 kB / 5.373 GB, free: 98.23 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.03106/22.51, allocations: 6.305 MB / 5.379 GB, free: 93.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/22.51, allocations: 8.031 kB / 5.379 GB, free: 93.74 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/22.53, allocations: 1.247 MB / 5.38 GB, free: 92.49 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02458/22.55, allocations: 6.555 MB / 5.387 GB, free: 85.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005863/22.55, allocations: 311.8 kB / 5.387 GB, free: 85.58 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00229/22.55, allocations: 415.8 kB / 5.387 GB, free: 85.17 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02048/22.57, allocations: 5.646 MB / 5.393 GB, free: 79.42 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/22.58, allocations: 7.516 kB / 5.393 GB, free: 79.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001058/22.58, allocations: 168 kB / 5.393 GB, free: 79.25 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002637/22.58, allocations: 199.7 kB / 5.393 GB, free: 79.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/22.59, allocations: 4.945 MB / 5.398 GB, free: 74.11 MB / 0.9167 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.05711/22.65, allocations: 23.96 MB / 5.422 GB, free: 48.81 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00895/22.66, allocations: 3.675 MB / 5.425 GB, free: 45.12 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005484/22.67, allocations: 2.137 MB / 5.427 GB, free: 42.97 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/22.67, allocations: 1.002 MB / 5.428 GB, free: 41.77 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005734/22.67, allocations: 1.893 MB / 5.43 GB, free: 39.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=273): time 9.167e-06/22.67, allocations: 7.734 kB / 5.43 GB, free: 39.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=277): time 0.03595/22.71, allocations: 9.702 MB / 5.44 GB, free: 29.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/22.71, allocations: 132.9 kB / 5.44 GB, free: 29.73 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/22.72, allocations: 4.26 MB / 5.444 GB, free: 25.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009995/22.72, allocations: 85.7 kB / 5.444 GB, free: 25.37 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003888/22.73, allocations: 2.221 MB / 5.446 GB, free: 23.13 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001941/22.73, allocations: 0.9473 MB / 5.447 GB, free: 22.17 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/22.73, allocations: 52 kB / 5.447 GB, free: 22.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003207/22.73, allocations: 423.7 kB / 5.447 GB, free: 21.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/22.73, allocations: 1.464 MB / 5.449 GB, free: 20.24 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005343/22.74, allocations: 2.227 MB / 5.451 GB, free: 17.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005429/22.74, allocations: 1.948 MB / 5.453 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.037e-05/22.74, allocations: 4 kB / 5.453 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01404/22.76, allocations: 4.289 MB / 5.457 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003195/22.76, allocations: 0.5001 MB / 5.458 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/22.76, allocations: 12 kB / 5.458 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/22.76, allocations: 124.7 kB / 5.458 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005876/22.76, allocations: 0.6241 MB / 5.458 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/22.77, allocations: 2.752 MB / 5.461 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00973/22.78, allocations: 0.4949 MB / 5.462 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/22.78, allocations: 116 kB / 5.462 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/22.78, allocations: 4 kB / 5.462 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01186/22.79, allocations: 3.944 MB / 5.466 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/22.79, allocations: 12 kB / 5.466 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/22.79, allocations: 129.5 kB / 5.466 GB, free: 2.316 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005486/22.8, allocations: 0.6046 MB / 5.466 GB, free: 1.711 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/22.8, allocations: 2.143 MB / 5.468 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009315/22.81, allocations: 490.9 kB / 5.469 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000999/22.81, allocations: 112 kB / 5.469 GB, free: 14.84 MB / 0.9323 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.00709/22.82, allocations: 2.184 MB / 5.471 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/22.82, allocations: 433.8 kB / 5.471 GB, free: 12.21 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/22.84, allocations: 4.1 MB / 5.475 GB, free: 8.043 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.494e-05/22.84, allocations: 32 kB / 5.475 GB, free: 8.012 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/22.84, allocations: 3.938 kB / 5.475 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01143/22.85, allocations: 3.438 MB / 5.479 GB, free: 4.488 MB / 0.9323 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.9488/23.8, allocations: 10.23 MB / 5.489 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-05/23.8, allocations: 3.969 kB / 5.489 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009701/23.81, allocations: 0.6293 MB / 5.489 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/23.81, allocations: 105.2 kB / 5.49 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001313/23.81, allocations: 92 kB / 5.49 GB, free: 119.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00641/23.81, allocations: 2.721 MB / 5.492 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/23.81, allocations: 7.656 kB / 5.492 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03375/23.85, allocations: 6.352 MB / 5.499 GB, free: 116.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008405/23.86, allocations: 1.062 MB / 5.5 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003558/23.86, allocations: 73.91 kB / 5.5 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0126/23.87, allocations: 455.1 kB / 5.5 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001492/23.87, allocations: 169.7 kB / 5.5 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001418/23.88, allocations: 111.3 kB / 5.5 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01466/23.89, allocations: 3.013 MB / 5.503 GB, free: 116.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.593e-06/23.89, allocations: 0 / 5.503 GB, free: 116.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02893/23.92, allocations: 2.746 MB / 5.506 GB, free: 116.4 MB / 0.9323 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.01156/23.93, allocations: 2.785 MB / 5.509 GB, free: 115.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02603/23.96, allocations: 6.097 MB / 5.515 GB, free: 115 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.683e-05/23.96, allocations: 0 / 5.515 GB, free: 115 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.008574/23.97, allocations: 2.053 MB / 5.517 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04038/24.01, allocations: 2.835 MB / 5.519 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05867/24.07, allocations: 13.38 MB / 5.532 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01604/24.08, allocations: 3.969 MB / 5.536 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02369/24.11, allocations: 2.387 MB / 5.539 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003881/24.11, allocations: 327.6 kB / 5.539 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.134e-06/24.11, allocations: 0 / 5.539 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.4533/24.56, allocations: 122.5 MB / 5.659 GB, free: 103.2 MB / 0.9323 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)