Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.465/2.465, allocations: 248.5 MB / 261 MB, free: 5.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00169/0.001689, allocations: 187.3 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.2 MB / 0.571 GB, free: 11.85 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.001121/0.001121, allocations: 90.48 kB / 0.6754 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.741e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.191, allocations: 106.2 MB / 0.8907 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.855/8.046, allocations: 2.472 GB / 3.362 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/8.047, allocations: 91.2 kB / 3.362 GB, free: 200 MB / 0.8698 GB [/home/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.42/36.47, allocations: 5.261 GB / 8.624 GB, free: 73.8 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.754e-06/36.47, allocations: 0 / 8.624 GB, free: 73.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002884/36.47, allocations: 210.3 kB / 8.624 GB, free: 73.78 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.04363/36.52, allocations: 8.875 MB / 8.633 GB, free: 70.97 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/36.52, allocations: 10.31 kB / 8.633 GB, free: 70.97 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005465/36.52, allocations: 0.9437 MB / 8.633 GB, free: 70.89 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01804/36.54, allocations: 1.862 MB / 8.635 GB, free: 70.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05403/36.59, allocations: 14.94 MB / 8.65 GB, free: 69.21 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007943/36.59, allocations: 481.9 kB / 8.65 GB, free: 69.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004746/36.6, allocations: 0.6458 MB / 8.651 GB, free: 69.19 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03953/36.64, allocations: 11.41 MB / 8.662 GB, free: 68.59 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000433/36.64, allocations: 14.28 kB / 8.662 GB, free: 68.59 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003277/36.64, allocations: 265.2 kB / 8.662 GB, free: 68.59 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004499/36.64, allocations: 294.1 kB / 8.663 GB, free: 68.57 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03343/36.68, allocations: 10.49 MB / 8.673 GB, free: 68.5 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.1166/36.79, allocations: 49.88 MB / 8.722 GB, free: 51.45 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/36.81, allocations: 6.816 MB / 8.728 GB, free: 51.17 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01125/36.82, allocations: 4.547 MB / 8.733 GB, free: 51.12 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/36.82, allocations: 0.9326 MB / 8.734 GB, free: 50.18 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.943e-05/36.82, allocations: 87.55 kB / 8.734 GB, free: 50.14 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0109/36.83, allocations: 1.372 MB / 8.735 GB, free: 50 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 2.247e-05/36.83, allocations: 0 / 8.735 GB, free: 50 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.05506/36.89, allocations: 15.68 MB / 8.75 GB, free: 48.09 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/36.89, allocations: 91.2 kB / 8.75 GB, free: 48.03 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02253/36.91, allocations: 8.054 MB / 8.758 GB, free: 47.64 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001529/36.91, allocations: 107.2 kB / 8.758 GB, free: 47.61 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.006244/36.92, allocations: 3.651 MB / 8.762 GB, free: 45.77 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003073/36.92, allocations: 1.324 MB / 8.763 GB, free: 44.75 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008122/36.92, allocations: 74.91 kB / 8.763 GB, free: 44.69 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005109/36.92, allocations: 0.4927 MB / 8.764 GB, free: 44.32 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008355/36.93, allocations: 3.267 MB / 8.767 GB, free: 43.37 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/36.94, allocations: 4.506 MB / 8.771 GB, free: 41.21 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/36.95, allocations: 4.255 MB / 8.776 GB, free: 40 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.067e-05/36.95, allocations: 7.641 kB / 8.776 GB, free: 39.99 MB / 0.9792 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02473/36.98, allocations: 8.367 MB / 8.784 GB, free: 35.02 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002005/36.98, allocations: 8.946 MB / 8.793 GB, free: 25.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.415e-05/36.98, allocations: 16 kB / 8.793 GB, free: 25.51 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/36.98, allocations: 222 kB / 8.793 GB, free: 25.33 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009645/36.99, allocations: 1.113 MB / 8.794 GB, free: 24.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004197/36.99, allocations: 2.849 MB / 8.797 GB, free: 21.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01572/37.01, allocations: 1.168 MB / 8.798 GB, free: 21.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/37.01, allocations: 167.8 kB / 8.798 GB, free: 21 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/37.01, allocations: 4 kB / 8.798 GB, free: 20.99 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02176/37.03, allocations: 7.796 MB / 8.806 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-05/37.03, allocations: 20 kB / 8.806 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009163/37.03, allocations: 227.1 kB / 8.806 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009556/37.04, allocations: 1.107 MB / 8.807 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/37.05, allocations: 2.852 MB / 8.81 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01557/37.06, allocations: 1.151 MB / 8.811 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/37.07, allocations: 169.5 kB / 8.811 GB, free: 9.973 MB / 0.9792 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 () * 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.002434/37.07, allocations: 336.5 kB / 8.811 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003498/37.07, allocations: 0.6137 MB / 8.812 GB, free: 9.012 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02433/37.1, allocations: 7.868 MB / 8.82 GB, free: 2.488 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.901e-05/37.1, allocations: 43.95 kB / 8.82 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/37.1, allocations: 2.844 kB / 8.82 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02144/37.12, allocations: 6.729 MB / 8.826 GB, free: 12.97 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.06969/37.19, allocations: 20.18 MB / 8.846 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.884e-05/37.19, allocations: 4 kB / 8.846 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01085/37.2, allocations: 1.148 MB / 8.847 GB, free: 12.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/37.2, allocations: 203.7 kB / 8.847 GB, free: 11.87 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001346/37.2, allocations: 130.4 kB / 8.847 GB, free: 11.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004921/37.21, allocations: 2.819 MB / 8.85 GB, free: 9.109 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/37.21, allocations: 15.88 kB / 8.85 GB, free: 9.094 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9775/38.18, allocations: 13.47 MB / 8.863 GB, free: 105.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01065/38.19, allocations: 2.182 MB / 8.865 GB, free: 105.4 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003704/38.2, allocations: 113.7 kB / 8.865 GB, free: 105.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01448/38.21, allocations: 0.9594 MB / 8.866 GB, free: 105.4 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001613/38.21, allocations: 232.9 kB / 8.867 GB, free: 105.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001343/38.22, allocations: 136.4 kB / 8.867 GB, free: 105.4 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0205/38.24, allocations: 6.388 MB / 8.873 GB, free: 105.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.132e-06/38.24, allocations: 2.344 kB / 8.873 GB, free: 105.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.03087/38.27, allocations: 4.609 MB / 8.877 GB, free: 105.2 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 () * 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.06642/38.33, allocations: 18.2 MB / 8.895 GB, free: 101.1 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02975/38.36, allocations: 11.67 MB / 8.907 GB, free: 100.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/38.36, allocations: 2.719 kB / 8.907 GB, free: 100.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008865/38.37, allocations: 3.553 MB / 8.91 GB, free: 100.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04341/38.42, allocations: 4.87 MB / 8.915 GB, free: 100.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0734/38.49, allocations: 23.67 MB / 8.938 GB, free: 97.63 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0153/38.5, allocations: 7.162 MB / 8.945 GB, free: 96.71 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.04972/38.55, allocations: 12.04 MB / 8.957 GB, free: 96.66 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01073/38.57, allocations: 3.225 MB / 8.96 GB, free: 96.66 MB / 1.01 GB Notification: Performance of SimCode: time 1.333e-06/38.57, allocations: 0 / 8.96 GB, free: 96.66 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.599/40.16, allocations: 321.1 MB / 9.274 GB, free: 144.1 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/40.16, allocations: 221.2 kB / 9.274 GB, free: 143.9 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/55.87, allocations: 0 / 9.274 GB, free: 143.9 MB / 1.073 GB