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.19/2.19, allocations: 251 MB / 265.9 MB, free: 11.68 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.001601/0.001601, allocations: 172.2 kB / 325.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.35/2.35, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001174/0.001174, allocations: 97.88 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006324/0.0006324, allocations: 14.94 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2102, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.527/7.737, allocations: 2.472 GB / 3.37 GB, free: 47.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/7.738, allocations: 97.41 kB / 3.37 GB, free: 47.15 MB / 0.8855 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.86/36.6, allocations: 5.27 GB / 8.641 GB, free: 51.43 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.735e-06/36.6, allocations: 0 / 8.641 GB, free: 51.43 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003215/36.6, allocations: 212.7 kB / 8.641 GB, free: 51.4 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.0602/36.66, allocations: 11.29 MB / 8.652 GB, free: 47.76 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/36.66, allocations: 14 kB / 8.652 GB, free: 47.76 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006949/36.67, allocations: 0.9505 MB / 8.653 GB, free: 47.68 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02023/36.69, allocations: 1.861 MB / 8.655 GB, free: 47.19 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0561/36.74, allocations: 15.02 MB / 8.669 GB, free: 45.84 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009446/36.74, allocations: 486.5 kB / 8.67 GB, free: 45.82 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004899/36.75, allocations: 0.6507 MB / 8.671 GB, free: 45.81 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0473/36.8, allocations: 11.59 MB / 8.682 GB, free: 45.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007035/36.8, allocations: 14.22 kB / 8.682 GB, free: 45.19 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004832/36.8, allocations: 261.7 kB / 8.682 GB, free: 45.19 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005255/36.8, allocations: 290.8 kB / 8.682 GB, free: 45.18 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0385/36.84, allocations: 10.76 MB / 8.693 GB, free: 45.08 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.1257/36.97, allocations: 49.89 MB / 8.742 GB, free: 19.02 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.018/36.98, allocations: 6.93 MB / 8.748 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/36.99, allocations: 0.937 MB / 8.749 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/36.99, allocations: 81.31 kB / 8.749 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01197/37, allocations: 1.371 MB / 8.751 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 2.343e-05/37, allocations: 0 / 8.751 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.09281/37.09, allocations: 20.07 MB / 8.77 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/37.09, allocations: 90.36 kB / 8.77 GB, free: 11.76 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02805/37.12, allocations: 8.117 MB / 8.778 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001905/37.12, allocations: 105.7 kB / 8.778 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008487/37.13, allocations: 3.633 MB / 8.782 GB, free: 1.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004426/37.13, allocations: 1.325 MB / 8.783 GB, free: 180 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001703/37.14, allocations: 80 kB / 8.783 GB, free: 100 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0009882/37.14, allocations: 0.4904 MB / 8.784 GB, free: 15.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0114/37.15, allocations: 3.349 MB / 8.787 GB, free: 12.25 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/37.16, allocations: 4.599 MB / 8.792 GB, free: 7.246 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01398/37.18, allocations: 4.325 MB / 8.796 GB, free: 2.91 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-05/37.18, allocations: 4 kB / 8.796 GB, free: 2.906 MB / 1.01 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.9892/38.17, allocations: 8.568 MB / 8.804 GB, free: 90.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002408/38.17, allocations: 8.941 MB / 8.813 GB, free: 81.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/38.17, allocations: 17.91 kB / 8.813 GB, free: 81.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/38.17, allocations: 268.5 kB / 8.813 GB, free: 81.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/38.18, allocations: 1.087 MB / 8.814 GB, free: 81.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007294/38.19, allocations: 3.562 MB / 8.818 GB, free: 79.76 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01667/38.2, allocations: 1.165 MB / 8.819 GB, free: 79.76 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001622/38.21, allocations: 165.2 kB / 8.819 GB, free: 79.76 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/38.21, allocations: 4.906 kB / 8.819 GB, free: 79.76 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02291/38.23, allocations: 7.999 MB / 8.827 GB, free: 79.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.466e-05/38.23, allocations: 21.06 kB / 8.827 GB, free: 79.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009989/38.23, allocations: 259.6 kB / 8.827 GB, free: 79.65 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009968/38.24, allocations: 1.085 MB / 8.828 GB, free: 79.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/38.25, allocations: 3.56 MB / 8.832 GB, free: 78.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01573/38.26, allocations: 1.155 MB / 8.833 GB, free: 78.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/38.26, allocations: 163.7 kB / 8.833 GB, free: 78.32 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.01395/38.28, allocations: 5.309 MB / 8.838 GB, free: 78.14 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003181/38.28, allocations: 0.616 MB / 8.839 GB, free: 78.14 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02584/38.31, allocations: 8.062 MB / 8.847 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/38.31, allocations: 37.28 kB / 8.847 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/38.31, allocations: 5.109 kB / 8.847 GB, free: 77.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01882/38.33, allocations: 6.805 MB / 8.853 GB, free: 77.39 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.06061/38.39, allocations: 20.12 MB / 8.873 GB, free: 76.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/38.39, allocations: 3.469 kB / 8.873 GB, free: 76.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0102/38.4, allocations: 1.13 MB / 8.874 GB, free: 76.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/38.4, allocations: 238.7 kB / 8.874 GB, free: 76.19 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/38.4, allocations: 129.1 kB / 8.874 GB, free: 76.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005631/38.4, allocations: 3.532 MB / 8.878 GB, free: 74.86 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/38.4, allocations: 8.781 kB / 8.878 GB, free: 74.86 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03172/38.44, allocations: 12.94 MB / 8.89 GB, free: 73.67 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009904/38.45, allocations: 2.185 MB / 8.893 GB, free: 73.25 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003306/38.45, allocations: 116.1 kB / 8.893 GB, free: 73.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0139/38.46, allocations: 0.9522 MB / 8.894 GB, free: 73.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001793/38.47, allocations: 238 kB / 8.894 GB, free: 73.22 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001035/38.47, allocations: 139.4 kB / 8.894 GB, free: 73.22 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0193/38.49, allocations: 6.449 MB / 8.9 GB, free: 73.01 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.72e-07/38.49, allocations: 0 / 8.9 GB, free: 73.01 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.03284/38.52, allocations: 4.701 MB / 8.905 GB, free: 73.01 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.0418/38.56, allocations: 18.47 MB / 8.923 GB, free: 68.61 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.03128/38.59, allocations: 11.79 MB / 8.934 GB, free: 68.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/38.59, allocations: 6.875 kB / 8.934 GB, free: 68.29 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/38.6, allocations: 3.672 MB / 8.938 GB, free: 68.15 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03981/38.64, allocations: 4.882 MB / 8.943 GB, free: 68.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0905/38.73, allocations: 42.96 MB / 8.985 GB, free: 46.58 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01792/38.75, allocations: 7.147 MB / 8.992 GB, free: 45.68 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03205/38.78, allocations: 6.766 MB / 8.998 GB, free: 45.62 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01344/38.8, allocations: 3.333 MB / 9.002 GB, free: 45.61 MB / 1.01 GB Notification: Performance of SimCode: time 1.223e-06/38.8, allocations: 0 / 9.002 GB, free: 45.61 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.556/40.35, allocations: 306.7 MB / 9.301 GB, free: 132.8 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/40.35, allocations: 254.5 kB / 9.301 GB, free: 132.4 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/53.91, allocations: 0 / 9.301 GB, free: 132.4 MB / 1.057 GB