Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001161/0.00116, allocations: 173.1 kB / 377.1 MB, free: 1.512 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.85/1.85, allocations: 205.4 MB / 0.6366 GB, free: 8.523 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 94.34 kB / 0.7509 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005794/0.0005796, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2866, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.506/6.792, allocations: 2.356 GB / 3.344 GB, free: 186.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/6.793, allocations: 94.58 kB / 3.344 GB, free: 186.5 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.57/27.37, allocations: 5.416 GB / 8.76 GB, free: 53.82 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.757e-06/27.37, allocations: 0 / 8.76 GB, free: 53.82 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.003025/27.37, allocations: 211.2 kB / 8.76 GB, free: 53.77 MB / 1.042 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.05463/27.42, allocations: 11.27 MB / 8.771 GB, free: 49.96 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/27.42, allocations: 17.75 kB / 8.771 GB, free: 49.96 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00827/27.43, allocations: 0.9391 MB / 8.772 GB, free: 49.88 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/27.45, allocations: 1.86 MB / 8.774 GB, free: 49.37 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05315/27.5, allocations: 14.96 MB / 8.789 GB, free: 47.88 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009019/27.5, allocations: 479 kB / 8.789 GB, free: 47.86 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005179/27.51, allocations: 0.6366 MB / 8.79 GB, free: 47.85 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04257/27.55, allocations: 11.53 MB / 8.801 GB, free: 44.68 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000311/27.55, allocations: 15.84 kB / 8.801 GB, free: 44.66 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002647/27.55, allocations: 264 kB / 8.801 GB, free: 44.41 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003214/27.55, allocations: 290 kB / 8.802 GB, free: 44.14 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02749/27.58, allocations: 10.69 MB / 8.812 GB, free: 34.99 MB / 1.042 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.0929/27.67, allocations: 49.79 MB / 8.861 GB, free: 0.7188 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/27.69, allocations: 7.47 MB / 8.868 GB, free: 9.133 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/27.69, allocations: 0.9353 MB / 8.869 GB, free: 8.012 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/27.69, allocations: 93.36 kB / 8.869 GB, free: 7.91 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009485/27.7, allocations: 1.375 MB / 8.87 GB, free: 6.531 MB / 1.073 GB Notification: Performance of pre-optimization done (n=369): time 3.029e-05/27.7, allocations: 0 / 8.87 GB, free: 6.531 MB / 1.073 GB Notification: Performance of matching and sorting (n=375): time 1.137/28.84, allocations: 19.37 MB / 8.889 GB, free: 94.64 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/28.84, allocations: 91.92 kB / 8.889 GB, free: 94.57 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02326/28.86, allocations: 8.066 MB / 8.897 GB, free: 94.23 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002111/28.86, allocations: 106.4 kB / 8.897 GB, free: 94.2 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.005911/28.87, allocations: 3.626 MB / 8.901 GB, free: 93.39 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003482/28.87, allocations: 1.323 MB / 8.902 GB, free: 92.73 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/28.87, allocations: 74.91 kB / 8.902 GB, free: 92.73 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0004445/28.87, allocations: 499.2 kB / 8.903 GB, free: 92.42 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006096/28.88, allocations: 3.373 MB / 8.906 GB, free: 92.41 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006761/28.89, allocations: 4.62 MB / 8.91 GB, free: 91.34 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007031/28.89, allocations: 4.349 MB / 8.915 GB, free: 91.29 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/28.89, allocations: 5.344 kB / 8.915 GB, free: 91.29 MB / 1.073 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01724/28.91, allocations: 8.605 MB / 8.923 GB, free: 90.86 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002556/28.91, allocations: 8.951 MB / 8.932 GB, free: 81.53 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.901e-05/28.91, allocations: 20.16 kB / 8.932 GB, free: 81.53 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009446/28.91, allocations: 258.6 kB / 8.932 GB, free: 81.52 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005689/28.92, allocations: 1.095 MB / 8.933 GB, free: 81.52 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004547/28.92, allocations: 3.561 MB / 8.937 GB, free: 80.18 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.013/28.94, allocations: 1.166 MB / 8.938 GB, free: 80.16 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/28.94, allocations: 169.7 kB / 8.938 GB, free: 80.16 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/28.94, allocations: 6.484 kB / 8.938 GB, free: 80.15 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01998/28.96, allocations: 8.04 MB / 8.946 GB, free: 80.05 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.79e-05/28.96, allocations: 15.41 kB / 8.946 GB, free: 80.05 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008274/28.96, allocations: 263.2 kB / 8.946 GB, free: 80.04 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005567/28.97, allocations: 1.092 MB / 8.947 GB, free: 80.04 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0045/28.97, allocations: 3.561 MB / 8.951 GB, free: 78.7 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01262/28.98, allocations: 1.151 MB / 8.952 GB, free: 78.66 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/28.99, allocations: 166.5 kB / 8.952 GB, free: 78.66 MB / 1.073 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.01529/29, allocations: 5.256 MB / 8.957 GB, free: 78.48 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005333/29.01, allocations: 0.6129 MB / 8.958 GB, free: 78.16 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02634/29.03, allocations: 8.105 MB / 8.966 GB, free: 77.94 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/29.03, allocations: 41.61 kB / 8.966 GB, free: 77.94 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.977e-05/29.03, allocations: 3.375 kB / 8.966 GB, free: 77.94 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01695/29.05, allocations: 6.837 MB / 8.972 GB, free: 77.4 MB / 1.073 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.07187/29.12, allocations: 20.65 MB / 8.992 GB, free: 75.77 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.925e-05/29.12, allocations: 3.938 kB / 8.992 GB, free: 75.77 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005872/29.13, allocations: 1.071 MB / 8.994 GB, free: 75.77 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008009/29.13, allocations: 247.2 kB / 8.994 GB, free: 75.76 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/29.13, allocations: 126 kB / 8.994 GB, free: 75.76 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004248/29.13, allocations: 3.531 MB / 8.997 GB, free: 74.42 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/29.13, allocations: 3.656 kB / 8.997 GB, free: 74.42 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02549/29.16, allocations: 12.99 MB / 9.01 GB, free: 72.89 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01054/29.17, allocations: 2.119 MB / 9.012 GB, free: 72.48 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004496/29.17, allocations: 118 kB / 9.012 GB, free: 72.48 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01129/29.19, allocations: 0.9418 MB / 9.013 GB, free: 72.46 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001532/29.19, allocations: 237.1 kB / 9.013 GB, free: 72.45 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001364/29.19, allocations: 136.3 kB / 9.013 GB, free: 72.45 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.02028/29.21, allocations: 6.401 MB / 9.02 GB, free: 72.23 MB / 1.073 GB Notification: Performance of sort global known variables: time 9.82e-07/29.21, allocations: 0 / 9.02 GB, free: 72.23 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.03373/29.24, allocations: 4.69 MB / 9.024 GB, free: 72.23 MB / 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.04066/29.28, allocations: 18.52 MB / 9.042 GB, free: 67.79 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02685/29.31, allocations: 11.85 MB / 9.054 GB, free: 67.47 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.131e-05/29.31, allocations: 3.688 kB / 9.054 GB, free: 67.47 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.009957/29.32, allocations: 3.692 MB / 9.058 GB, free: 67.33 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02864/29.35, allocations: 4.868 MB / 9.062 GB, free: 67.24 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0963/29.45, allocations: 42.79 MB / 9.104 GB, free: 45.78 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02599/29.47, allocations: 7.106 MB / 9.111 GB, free: 44.87 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.02628/29.5, allocations: 6.681 MB / 9.118 GB, free: 44.8 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01535/29.51, allocations: 3.329 MB / 9.121 GB, free: 44.79 MB / 1.073 GB Notification: Performance of SimCode: time 1.953e-06/29.51, allocations: 0 / 9.121 GB, free: 44.79 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.49/31, allocations: 307.3 MB / 9.421 GB, free: 96.62 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/31, allocations: 251.2 kB / 9.421 GB, free: 96.35 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/42.05, allocations: 4 kB / 9.421 GB, free: 96.34 MB / 1.12 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)