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.132/2.132, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 183.8 kB / 325.6 MB, free: 2.848 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 2.277/2.277, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.00116/0.00116, allocations: 103.8 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004922, allocations: 11.69 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.283/7.49, allocations: 2.472 GB / 3.37 GB, free: 48.11 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/7.49, allocations: 92.75 kB / 3.371 GB, free: 48.06 MB / 0.8855 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 27.86/35.35, allocations: 5.27 GB / 8.641 GB, free: 51.27 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.354e-06/35.35, allocations: 2.156 kB / 8.641 GB, free: 51.27 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002687/35.35, allocations: 212.7 kB / 8.641 GB, free: 51.24 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.05481/35.41, allocations: 11.28 MB / 8.652 GB, free: 47.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/35.41, allocations: 13.31 kB / 8.652 GB, free: 47.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01788/35.42, allocations: 1.859 MB / 8.654 GB, free: 47.11 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05108/35.48, allocations: 15.03 MB / 8.669 GB, free: 45.79 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007887/35.48, allocations: 489.2 kB / 8.669 GB, free: 45.77 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003979/35.48, allocations: 0.6469 MB / 8.67 GB, free: 45.76 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03944/35.52, allocations: 11.59 MB / 8.681 GB, free: 45.14 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004196/35.52, allocations: 7.656 kB / 8.681 GB, free: 45.14 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002987/35.52, allocations: 264.3 kB / 8.681 GB, free: 45.14 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004085/35.52, allocations: 297.6 kB / 8.682 GB, free: 45.12 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03375/35.56, allocations: 10.76 MB / 8.692 GB, free: 45.03 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.109/35.67, allocations: 49.87 MB / 8.741 GB, free: 20.34 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/35.68, allocations: 6.937 MB / 8.748 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/35.68, allocations: 0.9321 MB / 8.749 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.128e-05/35.68, allocations: 81.47 kB / 8.749 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01103/35.7, allocations: 1.376 MB / 8.75 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 1.718e-05/35.7, allocations: 4 kB / 8.75 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.07095/35.77, allocations: 19.57 MB / 8.769 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/35.77, allocations: 94.36 kB / 8.769 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02376/35.79, allocations: 8.111 MB / 8.777 GB, free: 5.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.00171/35.79, allocations: 109.7 kB / 8.777 GB, free: 5.066 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006598/35.8, allocations: 3.632 MB / 8.781 GB, free: 1.773 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003479/35.8, allocations: 1.327 MB / 8.782 GB, free: 0.5664 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007703/35.8, allocations: 84 kB / 8.782 GB, free: 496 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0004933/35.8, allocations: 492.8 kB / 8.783 GB, free: 44 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01712/35.82, allocations: 3.808 MB / 8.786 GB, free: 14.04 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/35.83, allocations: 4.603 MB / 8.791 GB, free: 9.035 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/35.84, allocations: 4.329 MB / 8.795 GB, free: 4.695 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/35.84, allocations: 4 kB / 8.795 GB, free: 4.691 MB / 1.01 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.9119/36.76, allocations: 8.559 MB / 8.803 GB, free: 89.79 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002027/36.76, allocations: 8.945 MB / 8.812 GB, free: 80.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.395e-05/36.76, allocations: 18.97 kB / 8.812 GB, free: 80.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/36.76, allocations: 254.9 kB / 8.812 GB, free: 80.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/36.77, allocations: 1.086 MB / 8.814 GB, free: 80.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006957/36.78, allocations: 3.562 MB / 8.817 GB, free: 79.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01606/36.79, allocations: 1.164 MB / 8.818 GB, free: 79.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001664/36.8, allocations: 167.5 kB / 8.818 GB, free: 79.16 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/36.8, allocations: 9 kB / 8.818 GB, free: 79.15 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02342/36.82, allocations: 8.001 MB / 8.826 GB, free: 79.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.007e-05/36.82, allocations: 18.94 kB / 8.826 GB, free: 79.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/36.82, allocations: 256.9 kB / 8.826 GB, free: 79.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009239/36.83, allocations: 1.091 MB / 8.827 GB, free: 79.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/36.83, allocations: 3.562 MB / 8.831 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01532/36.85, allocations: 1.155 MB / 8.832 GB, free: 77.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/36.85, allocations: 164.2 kB / 8.832 GB, free: 77.72 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 (478): * Single equations (assignments): 477 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01317/36.86, allocations: 5.307 MB / 8.837 GB, free: 77.53 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003009/36.87, allocations: 0.6182 MB / 8.838 GB, free: 77.53 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02353/36.89, allocations: 8.06 MB / 8.846 GB, free: 77.32 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.766e-05/36.89, allocations: 37.75 kB / 8.846 GB, free: 77.32 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/36.89, allocations: 0 / 8.846 GB, free: 77.32 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01755/36.91, allocations: 6.808 MB / 8.853 GB, free: 76.78 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.05885/36.97, allocations: 20.12 MB / 8.872 GB, free: 75.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/36.97, allocations: 2.375 kB / 8.872 GB, free: 75.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009702/36.98, allocations: 1.13 MB / 8.873 GB, free: 75.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009625/36.98, allocations: 236.1 kB / 8.874 GB, free: 75.58 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009733/36.98, allocations: 126.6 kB / 8.874 GB, free: 75.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005463/36.99, allocations: 3.541 MB / 8.877 GB, free: 74.26 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/36.99, allocations: 6.625 kB / 8.877 GB, free: 74.26 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0299/37.02, allocations: 12.93 MB / 8.89 GB, free: 73.06 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009169/37.02, allocations: 2.184 MB / 8.892 GB, free: 72.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003178/37.03, allocations: 114.7 kB / 8.892 GB, free: 72.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01379/37.04, allocations: 0.9529 MB / 8.893 GB, free: 72.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001645/37.04, allocations: 235 kB / 8.893 GB, free: 72.96 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009101/37.04, allocations: 143.3 kB / 8.893 GB, free: 72.96 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01826/37.06, allocations: 6.447 MB / 8.9 GB, free: 72.74 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.71e-07/37.06, allocations: 0 / 8.9 GB, free: 72.74 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.03267/37.1, allocations: 4.705 MB / 8.904 GB, free: 72.74 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 (374): * Single equations (assignments): 369 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009621/37.11, allocations: 4.355 MB / 8.908 GB, free: 70.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0319/37.14, allocations: 11.79 MB / 8.92 GB, free: 70.58 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/37.14, allocations: 7.906 kB / 8.92 GB, free: 70.58 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01039/37.15, allocations: 3.681 MB / 8.924 GB, free: 70.45 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03916/37.19, allocations: 4.871 MB / 8.928 GB, free: 70.39 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06507/37.25, allocations: 25.66 MB / 8.953 GB, free: 63.34 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0173/37.27, allocations: 7.152 MB / 8.96 GB, free: 62.43 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03106/37.3, allocations: 6.776 MB / 8.967 GB, free: 62.37 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004777/37.31, allocations: 489.4 kB / 8.967 GB, free: 62.36 MB / 1.01 GB Notification: Performance of SimCode: time 1.442e-06/37.31, allocations: 0.9688 kB / 8.967 GB, free: 62.36 MB / 1.01 GB Notification: Performance of Templates: time 0.4796/37.78, allocations: 213.5 MB / 9.176 GB, free: 5.934 MB / 1.057 GB