Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.215/2.215, allocations: 253.1 MB / 260.6 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 176.8 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.6 MB / 0.5708 GB, free: 15.23 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 96.75 kB / 0.6751 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.372e-05/2.383e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2507, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.067/8.318, allocations: 2.472 GB / 3.36 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/8.318, allocations: 89.2 kB / 3.36 GB, free: 215.4 MB / 0.8698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 28.45/36.77, allocations: 5.218 GB / 8.578 GB, free: 80.03 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.254e-06/36.77, allocations: 2.125 kB / 8.578 GB, free: 80.03 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002727/36.77, allocations: 205.7 kB / 8.579 GB, free: 80 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.04381/36.82, allocations: 8.867 MB / 8.587 GB, free: 77.44 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/36.82, allocations: 10.88 kB / 8.587 GB, free: 77.44 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01789/36.83, allocations: 1.858 MB / 8.589 GB, free: 76.95 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0539/36.89, allocations: 14.95 MB / 8.604 GB, free: 75.76 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005089/36.89, allocations: 200.5 kB / 8.604 GB, free: 75.76 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00385/36.89, allocations: 384 kB / 8.604 GB, free: 75.76 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03172/36.92, allocations: 9.927 MB / 8.614 GB, free: 75.73 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03613/36.96, allocations: 10.5 MB / 8.624 GB, free: 75.16 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003797/36.96, allocations: 21.44 kB / 8.624 GB, free: 75.15 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002755/36.96, allocations: 7.312 kB / 8.624 GB, free: 75.15 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004301/36.96, allocations: 289.2 kB / 8.624 GB, free: 75.14 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.1083/37.07, allocations: 48.61 MB / 8.672 GB, free: 58.24 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/37.09, allocations: 7.465 MB / 8.679 GB, free: 57.33 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00994/37.1, allocations: 4.392 MB / 8.683 GB, free: 57.29 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/37.1, allocations: 0.9363 MB / 8.684 GB, free: 56.34 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001009/37.1, allocations: 80.78 kB / 8.684 GB, free: 56.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01065/37.11, allocations: 1.289 MB / 8.686 GB, free: 56.17 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 3.804e-05/37.11, allocations: 0 / 8.686 GB, free: 56.17 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.05196/37.16, allocations: 15.04 MB / 8.7 GB, free: 54.27 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/37.16, allocations: 92.48 kB / 8.7 GB, free: 54.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02001/37.18, allocations: 7.671 MB / 8.708 GB, free: 53.84 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001482/37.18, allocations: 33.23 kB / 8.708 GB, free: 53.81 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005957/37.19, allocations: 3.614 MB / 8.712 GB, free: 52.62 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002947/37.19, allocations: 1.275 MB / 8.713 GB, free: 51.77 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006311/37.19, allocations: 0 / 8.713 GB, free: 51.77 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004524/37.19, allocations: 498.5 kB / 8.713 GB, free: 51.46 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007249/37.2, allocations: 3.144 MB / 8.716 GB, free: 51.46 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008913/37.21, allocations: 4.364 MB / 8.721 GB, free: 50.37 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009598/37.22, allocations: 4.161 MB / 8.725 GB, free: 50.32 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.84e-05/37.22, allocations: 3.812 kB / 8.725 GB, free: 50.32 MB / 0.9792 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02214/37.24, allocations: 7.972 MB / 8.732 GB, free: 49.89 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00201/37.24, allocations: 9.116 MB / 8.741 GB, free: 40.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/37.24, allocations: 17.66 kB / 8.741 GB, free: 40.65 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/37.24, allocations: 228.7 kB / 8.742 GB, free: 40.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009371/37.25, allocations: 1.106 MB / 8.743 GB, free: 40.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005476/37.26, allocations: 2.777 MB / 8.745 GB, free: 39.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02066/37.28, allocations: 1.083 MB / 8.746 GB, free: 39.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/37.28, allocations: 166.7 kB / 8.747 GB, free: 39.38 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/37.28, allocations: 3.406 kB / 8.747 GB, free: 39.38 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02641/37.31, allocations: 7.336 MB / 8.754 GB, free: 39.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.144e-05/37.31, allocations: 18.06 kB / 8.754 GB, free: 39.28 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/37.31, allocations: 228.6 kB / 8.754 GB, free: 39.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/37.32, allocations: 1.103 MB / 8.755 GB, free: 39.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/37.33, allocations: 2.78 MB / 8.758 GB, free: 38.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01828/37.35, allocations: 1.065 MB / 8.759 GB, free: 38.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/37.35, allocations: 166.3 kB / 8.759 GB, free: 38.01 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.001978/37.35, allocations: 192.1 kB / 8.759 GB, free: 37.89 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002759/37.35, allocations: 0.6041 MB / 8.76 GB, free: 37.58 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02103/37.37, allocations: 7.476 MB / 8.767 GB, free: 37.36 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-05/37.37, allocations: 38.92 kB / 8.767 GB, free: 37.36 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/37.37, allocations: 0 / 8.767 GB, free: 37.36 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01506/37.39, allocations: 6.329 MB / 8.773 GB, free: 36.82 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.05947/37.45, allocations: 18.72 MB / 8.792 GB, free: 35.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/37.45, allocations: 3.469 kB / 8.792 GB, free: 35.51 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009862/37.46, allocations: 1.141 MB / 8.793 GB, free: 35.49 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009284/37.46, allocations: 207.4 kB / 8.793 GB, free: 35.44 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001104/37.46, allocations: 78.67 kB / 8.793 GB, free: 35.42 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00414/37.46, allocations: 2.736 MB / 8.796 GB, free: 33.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/37.46, allocations: 9.719 kB / 8.796 GB, free: 33.62 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02626/37.49, allocations: 12.22 MB / 8.808 GB, free: 26.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009974/37.5, allocations: 2.16 MB / 8.81 GB, free: 24.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003464/37.5, allocations: 52.19 kB / 8.81 GB, free: 24.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01381/37.52, allocations: 0.8906 MB / 8.811 GB, free: 24.05 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001455/37.52, allocations: 231 kB / 8.811 GB, free: 23.91 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008629/37.52, allocations: 141.2 kB / 8.811 GB, free: 23.79 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01683/37.54, allocations: 6.029 MB / 8.817 GB, free: 34.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.032e-06/37.54, allocations: 3.75 kB / 8.817 GB, free: 34.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03181/37.57, allocations: 4.338 MB / 8.821 GB, free: 30.39 MB / 0.9948 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 () * 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.01008/37.58, allocations: 4.64 MB / 8.826 GB, free: 26.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02715/37.61, allocations: 11.18 MB / 8.837 GB, free: 17.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.715e-05/37.61, allocations: 2.078 kB / 8.837 GB, free: 17.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.008702/37.62, allocations: 3.408 MB / 8.84 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05029/37.67, allocations: 4.745 MB / 8.844 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1354/37.8, allocations: 21.72 MB / 8.866 GB, free: 11.53 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02508/37.83, allocations: 7.166 MB / 8.873 GB, free: 5.828 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.09437/37.92, allocations: 12.7 MB / 8.885 GB, free: 0 / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.8785/38.8, allocations: 377.1 kB / 8.885 GB, free: 90.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.463e-06/38.8, allocations: 0 / 8.885 GB, free: 90.5 MB / 1.01 GB Notification: Performance of Templates: time 0.4254/39.23, allocations: 178.6 MB / 9.06 GB, free: 81.87 MB / 1.01 GB