Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.2 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 191.5 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009292/0.0009295, allocations: 102.5 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 15.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2369, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.537/5.774, allocations: 2.355 GB / 3.334 GB, free: 332.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/5.775, allocations: 97.23 kB / 3.334 GB, free: 332.7 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 20.61/26.39, allocations: 5.416 GB / 8.75 GB, free: 79.64 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.645e-06/26.39, allocations: 0 / 8.75 GB, free: 79.64 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.002717/26.39, allocations: 208.4 kB / 8.75 GB, free: 79.61 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 0.05046/26.44, allocations: 11.28 MB / 8.761 GB, free: 76.35 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/26.44, allocations: 10.41 kB / 8.761 GB, free: 76.35 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006902/26.45, allocations: 0.9416 MB / 8.762 GB, free: 76.27 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/26.46, allocations: 1.856 MB / 8.764 GB, free: 75.79 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04805/26.51, allocations: 14.97 MB / 8.779 GB, free: 74.63 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008245/26.51, allocations: 480.8 kB / 8.779 GB, free: 74.62 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004711/26.52, allocations: 0.6458 MB / 8.78 GB, free: 74.61 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0434/26.56, allocations: 11.51 MB / 8.791 GB, free: 74.01 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002334/26.56, allocations: 22.81 kB / 8.791 GB, free: 74.01 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001543/26.56, allocations: 256.5 kB / 8.791 GB, free: 74.01 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002999/26.56, allocations: 296.5 kB / 8.792 GB, free: 73.99 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02515/26.59, allocations: 10.69 MB / 8.802 GB, free: 73.93 MB / 1.057 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.1137/26.7, allocations: 49.79 MB / 8.851 GB, free: 56.91 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/26.71, allocations: 7.474 MB / 8.858 GB, free: 56.05 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/26.72, allocations: 0.9398 MB / 8.859 GB, free: 55.11 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/26.72, allocations: 80.66 kB / 8.859 GB, free: 55.07 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01046/26.73, allocations: 1.375 MB / 8.86 GB, free: 54.93 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 3.741e-05/26.73, allocations: 3.75 kB / 8.86 GB, free: 54.93 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.05506/26.78, allocations: 19.39 MB / 8.879 GB, free: 52.91 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/26.78, allocations: 89.86 kB / 8.879 GB, free: 52.84 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01919/26.8, allocations: 8.055 MB / 8.887 GB, free: 52.49 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001897/26.8, allocations: 109.6 kB / 8.887 GB, free: 52.46 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.004416/26.81, allocations: 3.622 MB / 8.891 GB, free: 51.29 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002871/26.81, allocations: 1.325 MB / 8.892 GB, free: 50.45 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003894/26.81, allocations: 74.53 kB / 8.892 GB, free: 50.45 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003464/26.81, allocations: 494.4 kB / 8.893 GB, free: 50.14 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00489/26.82, allocations: 3.381 MB / 8.896 GB, free: 50.13 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006296/26.82, allocations: 4.617 MB / 8.901 GB, free: 49.05 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007095/26.83, allocations: 4.352 MB / 8.905 GB, free: 49 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.094e-05/26.83, allocations: 7.094 kB / 8.905 GB, free: 49 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01848/26.85, allocations: 8.611 MB / 8.913 GB, free: 48.56 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.003637/26.85, allocations: 8.944 MB / 8.922 GB, free: 39.23 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-05/26.85, allocations: 21.41 kB / 8.922 GB, free: 39.23 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009289/26.85, allocations: 256.2 kB / 8.922 GB, free: 39.22 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006525/26.86, allocations: 1.095 MB / 8.923 GB, free: 39.22 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004449/26.86, allocations: 3.555 MB / 8.927 GB, free: 37.88 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01436/26.88, allocations: 1.176 MB / 8.928 GB, free: 37.82 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/26.88, allocations: 163.2 kB / 8.928 GB, free: 37.82 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/26.88, allocations: 4.562 kB / 8.928 GB, free: 37.82 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01889/26.9, allocations: 8.046 MB / 8.936 GB, free: 37.3 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/26.9, allocations: 18.81 kB / 8.936 GB, free: 37.3 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009036/26.9, allocations: 258.3 kB / 8.936 GB, free: 37.24 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005673/26.9, allocations: 1.09 MB / 8.937 GB, free: 37.21 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/26.91, allocations: 3.568 MB / 8.941 GB, free: 34.99 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/26.92, allocations: 1.152 MB / 8.942 GB, free: 34.88 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/26.92, allocations: 165.6 kB / 8.942 GB, free: 34.85 MB / 1.057 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.01357/26.94, allocations: 5.26 MB / 8.947 GB, free: 33.2 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003898/26.94, allocations: 0.6105 MB / 8.948 GB, free: 32.89 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/26.96, allocations: 8.11 MB / 8.956 GB, free: 30.23 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/26.96, allocations: 35.81 kB / 8.956 GB, free: 30.23 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-05/26.96, allocations: 3.188 kB / 8.956 GB, free: 30.23 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01485/26.98, allocations: 6.844 MB / 8.962 GB, free: 26.94 MB / 1.057 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.06187/27.04, allocations: 20.65 MB / 8.983 GB, free: 9.809 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.884e-05/27.04, allocations: 5.312 kB / 8.983 GB, free: 9.805 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006581/27.05, allocations: 1.076 MB / 8.984 GB, free: 9.016 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009442/27.05, allocations: 234.5 kB / 8.984 GB, free: 8.828 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001442/27.05, allocations: 127.9 kB / 8.984 GB, free: 8.719 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/27.05, allocations: 3.531 MB / 8.987 GB, free: 5.473 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/27.05, allocations: 11.5 kB / 8.987 GB, free: 5.469 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03636/27.09, allocations: 13.61 MB / 9.001 GB, free: 11.63 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01074/27.1, allocations: 2.118 MB / 9.003 GB, free: 9.668 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004096/27.1, allocations: 111.8 kB / 9.003 GB, free: 9.57 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01101/27.11, allocations: 0.941 MB / 9.004 GB, free: 8.996 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/27.12, allocations: 237.6 kB / 9.004 GB, free: 8.852 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001426/27.12, allocations: 149.1 kB / 9.004 GB, free: 8.73 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01783/27.14, allocations: 6.394 MB / 9.01 GB, free: 3.523 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.41e-07/27.14, allocations: 8.141 kB / 9.01 GB, free: 3.52 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.03866/27.17, allocations: 5.247 MB / 9.016 GB, free: 0 / 1.073 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.04309/27.22, allocations: 18.52 MB / 9.034 GB, free: 172 kB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.9766/28.19, allocations: 12.73 MB / 9.046 GB, free: 113.1 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.732e-05/28.19, allocations: 5.125 kB / 9.046 GB, free: 113.1 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/28.2, allocations: 3.69 MB / 9.05 GB, free: 113 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0324/28.24, allocations: 4.865 MB / 9.054 GB, free: 112.9 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1017/28.34, allocations: 42.79 MB / 9.096 GB, free: 91.5 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02335/28.36, allocations: 7.102 MB / 9.103 GB, free: 90.59 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.02307/28.39, allocations: 6.68 MB / 9.11 GB, free: 90.52 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01101/28.4, allocations: 3.327 MB / 9.113 GB, free: 90.51 MB / 1.089 GB Notification: Performance of SimCode: time 2.004e-06/28.4, allocations: 1.969 kB / 9.113 GB, free: 90.51 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5111/28.91, allocations: 307.3 MB / 9.413 GB, free: 3.473 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/28.91, allocations: 248.6 kB / 9.413 GB, free: 3.145 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/39.82, allocations: 4 kB / 9.413 GB, free: 3.141 MB / 1.12 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)