Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.289/1.289, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009042/0.0009043, allocations: 182.3 kB / 327.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 0.5785 GB, free: 20.14 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.0009769/0.000977, allocations: 91.75 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003478, allocations: 16.25 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.374/4.559, allocations: 2.472 GB / 3.373 GB, free: 82.46 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/4.559, allocations: 97.16 kB / 3.373 GB, free: 82.37 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd - DAE generated: time 16.2/20.76, allocations: 5.216 GB / 8.589 GB, free: 54.68 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.014e-06/20.76, allocations: 0 / 8.589 GB, free: 54.68 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002219/20.77, allocations: 210.9 kB / 8.59 GB, free: 54.65 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: 1612 * Number of variables: 1612 Notification: Performance of Generate backend data structure: time 0.03915/20.8, allocations: 11.19 MB / 8.6 GB, free: 51.12 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/20.8, allocations: 12.5 kB / 8.6 GB, free: 51.12 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/20.82, allocations: 1.855 MB / 8.602 GB, free: 50.63 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03691/20.85, allocations: 15.01 MB / 8.617 GB, free: 49.18 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007366/20.86, allocations: 481.5 kB / 8.617 GB, free: 49.16 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00361/20.86, allocations: 0.6464 MB / 8.618 GB, free: 49.16 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03397/20.89, allocations: 11.64 MB / 8.629 GB, free: 48.55 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004713/20.89, allocations: 19.53 kB / 8.629 GB, free: 48.55 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002816/20.9, allocations: 265.5 kB / 8.63 GB, free: 48.55 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003272/20.9, allocations: 293.3 kB / 8.63 GB, free: 48.53 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/20.92, allocations: 10.76 MB / 8.64 GB, free: 48.47 MB / 0.9792 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.08098/21, allocations: 49.73 MB / 8.689 GB, free: 31.41 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009779/21.01, allocations: 6.949 MB / 8.696 GB, free: 31.12 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006373/21.02, allocations: 4.642 MB / 8.7 GB, free: 31.09 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009855/21.02, allocations: 0.9327 MB / 8.701 GB, free: 30.14 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.742e-05/21.02, allocations: 82.12 kB / 8.701 GB, free: 30.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007079/21.03, allocations: 1.364 MB / 8.703 GB, free: 29.97 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 1.68e-05/21.03, allocations: 0 / 8.703 GB, free: 29.97 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.03919/21.06, allocations: 19.31 MB / 8.722 GB, free: 24.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/21.06, allocations: 94.47 kB / 8.722 GB, free: 24.84 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/21.08, allocations: 8.605 MB / 8.73 GB, free: 19.82 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001721/21.08, allocations: 105.7 kB / 8.73 GB, free: 19.71 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004831/21.09, allocations: 3.637 MB / 8.734 GB, free: 16.42 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002643/21.09, allocations: 1.324 MB / 8.735 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009526/21.09, allocations: 80 kB / 8.735 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004645/21.09, allocations: 490.6 kB / 8.736 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00525/21.1, allocations: 3.372 MB / 8.739 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006158/21.1, allocations: 4.638 MB / 8.743 GB, free: 7.645 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/21.11, allocations: 8.127 MB / 8.751 GB, free: 0.4961 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/21.11, allocations: 4 kB / 8.751 GB, free: 0.4922 MB / 0.9792 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.03047/21.15, allocations: 9.549 MB / 8.761 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005589/21.15, allocations: 0.6531 MB / 8.761 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.106e-05/21.15, allocations: 16 kB / 8.761 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000688/21.15, allocations: 227.8 kB / 8.761 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005026/21.15, allocations: 1.105 MB / 8.763 GB, free: 9.613 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/21.15, allocations: 2.864 MB / 8.765 GB, free: 6.934 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/21.16, allocations: 1.157 MB / 8.766 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/21.17, allocations: 169.7 kB / 8.767 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/21.17, allocations: 4 kB / 8.767 GB, free: 6.07 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01677/21.18, allocations: 8.112 MB / 8.775 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.538e-05/21.18, allocations: 19.75 kB / 8.775 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/21.18, allocations: 221.7 kB / 8.775 GB, free: 15.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004834/21.19, allocations: 1.101 MB / 8.776 GB, free: 14.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/21.19, allocations: 2.855 MB / 8.779 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/21.2, allocations: 1.151 MB / 8.78 GB, free: 11.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/21.2, allocations: 166.6 kB / 8.78 GB, free: 10.97 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01049/21.21, allocations: 5.323 MB / 8.785 GB, free: 6.668 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002864/21.22, allocations: 0.6098 MB / 8.786 GB, free: 6.051 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6581/21.87, allocations: 8.204 MB / 8.794 GB, free: 90.74 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/21.87, allocations: 37.91 kB / 8.794 GB, free: 90.74 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/21.87, allocations: 2.438 kB / 8.794 GB, free: 90.74 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01139/21.89, allocations: 6.818 MB / 8.8 GB, free: 90.2 MB / 1.01 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.03837/21.92, allocations: 20.1 MB / 8.82 GB, free: 89.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/21.92, allocations: 6.375 kB / 8.82 GB, free: 89.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004439/21.93, allocations: 1.146 MB / 8.821 GB, free: 89.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005493/21.93, allocations: 204 kB / 8.821 GB, free: 89.01 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003777/21.93, allocations: 128.9 kB / 8.822 GB, free: 89.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/21.93, allocations: 2.829 MB / 8.824 GB, free: 87.77 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/21.93, allocations: 6.906 kB / 8.824 GB, free: 87.77 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/21.95, allocations: 12.38 MB / 8.836 GB, free: 87.27 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006453/21.95, allocations: 2.149 MB / 8.838 GB, free: 87.17 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001933/21.96, allocations: 111.9 kB / 8.839 GB, free: 87.17 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006946/21.96, allocations: 0.9556 MB / 8.84 GB, free: 87.17 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006029/21.96, allocations: 234.6 kB / 8.84 GB, free: 87.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003576/21.96, allocations: 133.3 kB / 8.84 GB, free: 87.16 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01159/21.98, allocations: 6.234 MB / 8.846 GB, free: 86.95 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.42e-07/21.98, allocations: 0 / 8.846 GB, free: 86.95 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02008/22, allocations: 4.598 MB / 8.85 GB, free: 86.95 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 373 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007644/22, allocations: 4.369 MB / 8.855 GB, free: 85.12 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02078/22.02, allocations: 11.76 MB / 8.866 GB, free: 84.81 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/22.02, allocations: 3.781 kB / 8.866 GB, free: 84.81 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00545/22.03, allocations: 3.654 MB / 8.87 GB, free: 84.68 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02985/22.06, allocations: 4.875 MB / 8.875 GB, free: 84.59 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04769/22.11, allocations: 25.7 MB / 8.9 GB, free: 77.55 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008592/22.12, allocations: 7.004 MB / 8.906 GB, free: 76.65 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01967/22.14, allocations: 6.816 MB / 8.913 GB, free: 76.58 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002974/22.14, allocations: 498.7 kB / 8.914 GB, free: 76.57 MB / 1.01 GB Notification: Performance of SimCode: time 1.142e-06/22.14, allocations: 0 / 8.914 GB, free: 76.57 MB / 1.01 GB Notification: Performance of Templates: time 0.2753/22.41, allocations: 214.8 MB / 9.123 GB, free: 11.4 MB / 1.026 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)