Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.000918/0.0009181, allocations: 180.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.62/1.62, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.0008856/0.0008856, allocations: 101.4 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.932e-05, allocations: 4 kB / 0.8517 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7008, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.836/6.537, allocations: 2.386 GB / 3.351 GB, free: 89.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/6.537, allocations: 92.2 kB / 3.351 GB, free: 89.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.929/15.47, allocations: 2.294 GB / 5.645 GB, free: 27.43 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.745e-06/15.47, allocations: 0 / 5.645 GB, free: 27.43 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001357/15.47, allocations: 150.6 kB / 5.645 GB, free: 27.29 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: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.02349/15.49, allocations: 5.643 MB / 5.65 GB, free: 21.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/15.49, allocations: 12.03 kB / 5.65 GB, free: 21.56 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/15.5, allocations: 1.331 MB / 5.652 GB, free: 20.22 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02042/15.52, allocations: 7.028 MB / 5.658 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003559/15.52, allocations: 135.9 kB / 5.659 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002469/15.52, allocations: 259.9 kB / 5.659 GB, free: 12.73 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01271/15.54, allocations: 4.604 MB / 5.663 GB, free: 8.117 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/15.55, allocations: 5.142 MB / 5.668 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003055/15.56, allocations: 11.94 kB / 5.668 GB, free: 2.809 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/15.56, allocations: 7.984 kB / 5.668 GB, free: 2.801 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002507/15.56, allocations: 207.1 kB / 5.668 GB, free: 2.598 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.8679/16.43, allocations: 24.7 MB / 5.693 GB, free: 106.9 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006931/16.43, allocations: 5.221 MB / 5.698 GB, free: 105.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/16.44, allocations: 2.059 MB / 5.7 GB, free: 105.1 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/16.44, allocations: 0.918 MB / 5.701 GB, free: 104.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003551/16.44, allocations: 1.875 MB / 5.702 GB, free: 104 MB / 1.01 GB Notification: Performance of pre-optimization done (n=284): time 6.322e-06/16.44, allocations: 2.375 kB / 5.702 GB, free: 104 MB / 1.01 GB Notification: Performance of matching and sorting (n=288): time 0.02641/16.47, allocations: 9.554 MB / 5.712 GB, free: 101.7 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/16.47, allocations: 300.7 kB / 5.712 GB, free: 101.4 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006828/16.47, allocations: 3.869 MB / 5.716 GB, free: 101.1 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/16.47, allocations: 33.23 kB / 5.716 GB, free: 101.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002762/16.48, allocations: 2.471 MB / 5.718 GB, free: 100.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001634/16.48, allocations: 0.9619 MB / 5.719 GB, free: 99.99 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/16.48, allocations: 2.156 kB / 5.719 GB, free: 99.99 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001947/16.48, allocations: 433.4 kB / 5.72 GB, free: 99.68 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/16.48, allocations: 1.424 MB / 5.721 GB, free: 99.67 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/16.48, allocations: 2.279 MB / 5.723 GB, free: 98.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/16.49, allocations: 1.936 MB / 5.725 GB, free: 98.77 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/16.49, allocations: 6.25 kB / 5.725 GB, free: 98.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.008026/16.5, allocations: 4.233 MB / 5.729 GB, free: 98.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001371/16.5, allocations: 5.886 MB / 5.735 GB, free: 92.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/16.5, allocations: 15 kB / 5.735 GB, free: 92.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/16.5, allocations: 194.3 kB / 5.735 GB, free: 92.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/16.5, allocations: 0.6796 MB / 5.736 GB, free: 92.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/16.5, allocations: 3.372 MB / 5.739 GB, free: 89.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006634/16.51, allocations: 492.9 kB / 5.74 GB, free: 89.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007282/16.51, allocations: 127.8 kB / 5.74 GB, free: 89.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/16.51, allocations: 4.812 kB / 5.74 GB, free: 89.84 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00649/16.52, allocations: 3.73 MB / 5.743 GB, free: 89.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/16.52, allocations: 11.56 kB / 5.743 GB, free: 89.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005566/16.52, allocations: 198.9 kB / 5.744 GB, free: 89.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/16.52, allocations: 0.663 MB / 5.744 GB, free: 89.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/16.52, allocations: 3.912 MB / 5.748 GB, free: 87.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007313/16.53, allocations: 481.8 kB / 5.749 GB, free: 87.06 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009703/16.53, allocations: 125.5 kB / 5.749 GB, free: 87.06 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (355): * Single equations (assignments): 349 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001185/16.53, allocations: 212.3 kB / 5.749 GB, free: 86.93 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/16.54, allocations: 461.8 kB / 5.749 GB, free: 86.69 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008819/16.54, allocations: 3.902 MB / 5.753 GB, free: 86.48 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-05/16.54, allocations: 33.27 kB / 5.753 GB, free: 86.48 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/16.54, allocations: 8.891 kB / 5.753 GB, free: 86.48 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006078/16.55, allocations: 3.27 MB / 5.756 GB, free: 86.21 MB / 1.01 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.02249/16.57, allocations: 10.01 MB / 5.766 GB, free: 85.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/16.57, allocations: 3.969 kB / 5.766 GB, free: 85.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003105/16.58, allocations: 0.6611 MB / 5.767 GB, free: 85.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/16.58, allocations: 152 kB / 5.767 GB, free: 85.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002974/16.58, allocations: 50.53 kB / 5.767 GB, free: 85.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/16.58, allocations: 3.265 MB / 5.77 GB, free: 82.69 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/16.58, allocations: 8.5 kB / 5.77 GB, free: 82.69 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/16.59, allocations: 6.594 MB / 5.777 GB, free: 81.38 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004432/16.6, allocations: 1.088 MB / 5.778 GB, free: 81.05 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001782/16.6, allocations: 26.44 kB / 5.778 GB, free: 81.05 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005406/16.6, allocations: 423.6 kB / 5.778 GB, free: 81.04 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004128/16.6, allocations: 185.2 kB / 5.778 GB, free: 81.03 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003617/16.6, allocations: 112 kB / 5.778 GB, free: 81.03 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00682/16.61, allocations: 3 MB / 5.781 GB, free: 80.85 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.993e-06/16.61, allocations: 0 / 5.781 GB, free: 80.85 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0181/16.63, allocations: 2.772 MB / 5.784 GB, free: 80.85 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],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,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006226/16.64, allocations: 3.346 MB / 5.787 GB, free: 79.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01014/16.65, allocations: 6.132 MB / 5.793 GB, free: 79.16 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/16.65, allocations: 7.781 kB / 5.793 GB, free: 79.16 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002677/16.65, allocations: 1.905 MB / 5.795 GB, free: 78.98 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01584/16.66, allocations: 2.817 MB / 5.798 GB, free: 78.93 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/16.68, allocations: 10.24 MB / 5.808 GB, free: 76.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005053/16.69, allocations: 4.227 MB / 5.812 GB, free: 76.06 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01387/16.7, allocations: 3.993 MB / 5.816 GB, free: 76.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/16.7, allocations: 278.9 kB / 5.816 GB, free: 76 MB / 1.01 GB Notification: Performance of SimCode: time 9.62e-07/16.7, allocations: 0 / 5.816 GB, free: 76 MB / 1.01 GB Notification: Performance of Templates: time 0.1836/16.89, allocations: 115.2 MB / 5.929 GB, free: 69.89 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)