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.717/1.717, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.001189/0.001189, allocations: 181.2 kB / 371.6 MB, free: 3.395 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.915/1.915, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009039/0.0009038, allocations: 89.05 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.436e-05/5.438e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3354, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.353/7.689, allocations: 2.368 GB / 3.348 GB, free: 232.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/7.689, allocations: 89.61 kB / 3.348 GB, free: 232.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.038/15.73, allocations: 2.059 GB / 5.408 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.905e-06/15.73, allocations: 0 / 5.408 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001217/15.73, allocations: 135.9 kB / 5.408 GB, free: 14.74 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.02308/15.75, allocations: 5.178 MB / 5.413 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/15.75, allocations: 12.03 kB / 5.413 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/15.76, allocations: 1.237 MB / 5.414 GB, free: 8.25 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02193/15.78, allocations: 6.665 MB / 5.421 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003847/15.78, allocations: 307.8 kB / 5.421 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/15.79, allocations: 411.9 kB / 5.421 GB, free: 0.8281 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9259/16.71, allocations: 5.507 MB / 5.427 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000145/16.71, allocations: 8 kB / 5.427 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006616/16.71, allocations: 167.4 kB / 5.427 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003172/16.71, allocations: 190.5 kB / 5.427 GB, free: 101 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/16.73, allocations: 4.822 MB / 5.432 GB, free: 100.9 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.06481/16.79, allocations: 23.99 MB / 5.455 GB, free: 92 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007567/16.8, allocations: 3.813 MB / 5.459 GB, free: 91.57 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00401/16.8, allocations: 2.113 MB / 5.461 GB, free: 91.54 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/16.81, allocations: 0.9992 MB / 5.462 GB, free: 90.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004271/16.81, allocations: 1.856 MB / 5.464 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 6.983e-06/16.81, allocations: 0 / 5.464 GB, free: 90.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.03289/16.84, allocations: 8.228 MB / 5.472 GB, free: 88.84 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/16.84, allocations: 136.7 kB / 5.472 GB, free: 88.71 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/16.86, allocations: 3.861 MB / 5.476 GB, free: 88.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/16.86, allocations: 86.58 kB / 5.476 GB, free: 88.39 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00373/16.86, allocations: 2.212 MB / 5.478 GB, free: 87.88 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002056/16.86, allocations: 0.951 MB / 5.479 GB, free: 87.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006941/16.86, allocations: 59.72 kB / 5.479 GB, free: 87.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003933/16.86, allocations: 420.1 kB / 5.479 GB, free: 87.09 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/16.87, allocations: 1.445 MB / 5.481 GB, free: 87.09 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003687/16.87, allocations: 2.192 MB / 5.483 GB, free: 86.37 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003662/16.87, allocations: 1.933 MB / 5.485 GB, free: 86.25 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/16.87, allocations: 6.297 kB / 5.485 GB, free: 86.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.009895/16.88, allocations: 4.248 MB / 5.489 GB, free: 85.85 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001548/16.89, allocations: 5.201 MB / 5.494 GB, free: 80.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-05/16.89, allocations: 11.23 kB / 5.494 GB, free: 80.53 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006454/16.89, allocations: 126.7 kB / 5.494 GB, free: 80.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/16.89, allocations: 0.6221 MB / 5.495 GB, free: 80.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/16.89, allocations: 2.739 MB / 5.497 GB, free: 78.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/16.9, allocations: 0.4993 MB / 5.498 GB, free: 78.58 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004728/16.9, allocations: 116.2 kB / 5.498 GB, free: 78.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/16.9, allocations: 3.625 kB / 5.498 GB, free: 78.58 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007487/16.91, allocations: 3.91 MB / 5.502 GB, free: 78.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/16.91, allocations: 10.91 kB / 5.502 GB, free: 78.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004011/16.91, allocations: 117.6 kB / 5.502 GB, free: 78.41 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/16.91, allocations: 0.6176 MB / 5.502 GB, free: 78.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/16.91, allocations: 2.136 MB / 5.505 GB, free: 77.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006635/16.92, allocations: 488 kB / 5.505 GB, free: 77.05 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004904/16.92, allocations: 116.4 kB / 5.505 GB, free: 77.05 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.001292/16.92, allocations: 345.8 kB / 5.505 GB, free: 76.88 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002008/16.92, allocations: 426.2 kB / 5.506 GB, free: 76.67 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009154/16.93, allocations: 4.075 MB / 5.51 GB, free: 76.41 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-05/16.93, allocations: 31.89 kB / 5.51 GB, free: 76.41 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/16.93, allocations: 0 / 5.51 GB, free: 76.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005699/16.94, allocations: 3.416 MB / 5.513 GB, free: 76.09 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.03325/16.97, allocations: 10.4 MB / 5.523 GB, free: 74.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/16.97, allocations: 6.922 kB / 5.523 GB, free: 74.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/16.97, allocations: 0.6274 MB / 5.524 GB, free: 74.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/16.97, allocations: 109.5 kB / 5.524 GB, free: 74.94 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005407/16.98, allocations: 86.11 kB / 5.524 GB, free: 74.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/16.98, allocations: 2.722 MB / 5.527 GB, free: 73.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/16.98, allocations: 10.41 kB / 5.527 GB, free: 73.02 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/16.99, allocations: 6.721 MB / 5.533 GB, free: 71.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005224/17, allocations: 1.059 MB / 5.534 GB, free: 71.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002685/17, allocations: 74.64 kB / 5.535 GB, free: 71.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00767/17.01, allocations: 454.1 kB / 5.535 GB, free: 71.42 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009364/17.01, allocations: 172.9 kB / 5.535 GB, free: 71.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008303/17.01, allocations: 109.3 kB / 5.535 GB, free: 71.42 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01268/17.02, allocations: 3.041 MB / 5.538 GB, free: 71.21 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.493e-06/17.02, allocations: 2 kB / 5.538 GB, free: 71.21 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02058/17.04, allocations: 2.746 MB / 5.541 GB, free: 71.21 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.007155/17.05, allocations: 2.804 MB / 5.544 GB, free: 70.29 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01461/17.06, allocations: 6.17 MB / 5.55 GB, free: 69.71 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/17.06, allocations: 0 / 5.55 GB, free: 69.71 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003821/17.07, allocations: 2.034 MB / 5.552 GB, free: 69.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0175/17.09, allocations: 2.8 MB / 5.554 GB, free: 69.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/17.11, allocations: 9.869 MB / 5.564 GB, free: 67.52 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006846/17.12, allocations: 4.038 MB / 5.568 GB, free: 66.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01454/17.13, allocations: 3.952 MB / 5.572 GB, free: 66.64 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/17.14, allocations: 255.3 kB / 5.572 GB, free: 66.64 MB / 0.9948 GB Notification: Performance of SimCode: time 1.924e-06/17.14, allocations: 0 / 5.572 GB, free: 66.64 MB / 0.9948 GB Notification: Performance of Templates: time 0.2336/17.37, allocations: 136.5 MB / 5.705 GB, free: 51.58 MB / 0.9948 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)