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.602/1.602, allocations: 285.4 MB / 298 MB, free: 6.004 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.001052/0.001052, allocations: 176.9 kB / 366.4 MB, free: 2.109 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.548/1.548, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0008128/0.0008129, allocations: 88.02 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.445e-05, allocations: 11.98 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7819, allocations: 115.3 MB / 0.971 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.903/6.685, allocations: 2.355 GB / 3.326 GB, free: 147.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/6.685, allocations: 87.95 kB / 3.326 GB, free: 147.5 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 22.46/29.14, allocations: 5.407 GB / 8.733 GB, free: 58.89 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.374e-06/29.14, allocations: 3.938 kB / 8.733 GB, free: 58.89 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002581/29.14, allocations: 197.5 kB / 8.733 GB, free: 58.85 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.03693/29.18, allocations: 8.869 MB / 8.742 GB, free: 55.69 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/29.18, allocations: 11.53 kB / 8.742 GB, free: 55.68 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005148/29.19, allocations: 0.9382 MB / 8.743 GB, free: 55.6 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/29.2, allocations: 1.856 MB / 8.744 GB, free: 55.09 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0415/29.24, allocations: 14.88 MB / 8.759 GB, free: 53.43 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000829/29.24, allocations: 479.8 kB / 8.759 GB, free: 53.22 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004981/29.25, allocations: 0.642 MB / 8.76 GB, free: 53 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03781/29.29, allocations: 11.34 MB / 8.771 GB, free: 45.59 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006069/29.29, allocations: 15.94 kB / 8.771 GB, free: 45.58 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004476/29.29, allocations: 264 kB / 8.771 GB, free: 45.32 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003628/29.29, allocations: 284.2 kB / 8.772 GB, free: 45.06 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/29.32, allocations: 10.42 MB / 8.782 GB, free: 35.78 MB / 1.042 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.09177/29.41, allocations: 49.8 MB / 8.83 GB, free: 4 kB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.8888/30.3, allocations: 7.347 MB / 8.838 GB, free: 87.51 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007852/30.3, allocations: 4.563 MB / 8.842 GB, free: 87.48 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/30.31, allocations: 0.9289 MB / 8.843 GB, free: 86.54 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.148e-05/30.31, allocations: 85.44 kB / 8.843 GB, free: 86.5 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008452/30.31, allocations: 1.375 MB / 8.844 GB, free: 86.5 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 2.717e-05/30.31, allocations: 0 / 8.844 GB, free: 86.5 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.04068/30.36, allocations: 15.76 MB / 8.86 GB, free: 85.19 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/30.36, allocations: 92.98 kB / 8.86 GB, free: 85.12 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01748/30.37, allocations: 7.999 MB / 8.868 GB, free: 84.75 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001552/30.37, allocations: 109.7 kB / 8.868 GB, free: 84.72 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.004334/30.38, allocations: 3.617 MB / 8.871 GB, free: 83.91 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.002732/30.38, allocations: 1.332 MB / 8.873 GB, free: 83.25 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/30.38, allocations: 80.09 kB / 8.873 GB, free: 83.25 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003048/30.38, allocations: 492.4 kB / 8.873 GB, free: 82.95 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004813/30.39, allocations: 3.286 MB / 8.876 GB, free: 82.94 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006924/30.39, allocations: 4.531 MB / 8.881 GB, free: 81.86 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007521/30.4, allocations: 4.28 MB / 8.885 GB, free: 81.8 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.549e-05/30.4, allocations: 5.406 kB / 8.885 GB, free: 81.8 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01876/30.42, allocations: 8.411 MB / 8.893 GB, free: 81.36 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002039/30.42, allocations: 8.938 MB / 8.902 GB, free: 72.03 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.657e-05/30.42, allocations: 18.5 kB / 8.902 GB, free: 72.03 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008333/30.42, allocations: 230.2 kB / 8.902 GB, free: 72.02 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/30.43, allocations: 1.117 MB / 8.903 GB, free: 72.02 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003227/30.43, allocations: 2.845 MB / 8.906 GB, free: 70.76 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/30.44, allocations: 1.166 MB / 8.907 GB, free: 70.73 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/30.45, allocations: 169.9 kB / 8.907 GB, free: 70.73 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/30.45, allocations: 3.062 kB / 8.907 GB, free: 70.73 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01525/30.46, allocations: 7.839 MB / 8.915 GB, free: 70.63 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.727e-05/30.46, allocations: 18.56 kB / 8.915 GB, free: 70.63 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006225/30.46, allocations: 233.6 kB / 8.915 GB, free: 70.62 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005172/30.47, allocations: 1.108 MB / 8.916 GB, free: 70.62 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/30.47, allocations: 2.855 MB / 8.919 GB, free: 69.35 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/30.48, allocations: 1.152 MB / 8.92 GB, free: 69.33 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001596/30.48, allocations: 164 kB / 8.92 GB, free: 69.33 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 () * 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.002006/30.49, allocations: 341.2 kB / 8.921 GB, free: 69.22 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002774/30.49, allocations: 0.6117 MB / 8.921 GB, free: 68.9 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/30.5, allocations: 7.915 MB / 8.929 GB, free: 68.68 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/30.5, allocations: 39.22 kB / 8.929 GB, free: 68.68 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/30.5, allocations: 7.406 kB / 8.929 GB, free: 68.68 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009808/30.51, allocations: 6.647 MB / 8.936 GB, free: 68.14 MB / 1.057 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.04721/30.56, allocations: 20.52 MB / 8.956 GB, free: 66.51 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/30.56, allocations: 4.266 kB / 8.956 GB, free: 66.51 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005475/30.57, allocations: 1.087 MB / 8.957 GB, free: 66.51 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006816/30.57, allocations: 207.9 kB / 8.957 GB, free: 66.5 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009183/30.57, allocations: 124.4 kB / 8.957 GB, free: 66.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/30.57, allocations: 2.819 MB / 8.96 GB, free: 65.25 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/30.57, allocations: 11.83 kB / 8.96 GB, free: 65.24 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/30.59, allocations: 12.73 MB / 8.972 GB, free: 63.71 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008968/30.6, allocations: 2.122 MB / 8.974 GB, free: 63.3 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003398/30.6, allocations: 113.3 kB / 8.974 GB, free: 63.3 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009626/30.61, allocations: 0.9444 MB / 8.975 GB, free: 63.28 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001393/30.61, allocations: 237.4 kB / 8.976 GB, free: 63.27 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006334/30.62, allocations: 139 kB / 8.976 GB, free: 63.27 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01375/30.63, allocations: 6.34 MB / 8.982 GB, free: 63.03 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.232e-06/30.63, allocations: 0 / 8.982 GB, free: 63.03 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0251/30.65, allocations: 4.592 MB / 8.986 GB, free: 63.03 MB / 1.057 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.02896/30.68, allocations: 18.24 MB / 9.004 GB, free: 58.59 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02419/30.71, allocations: 11.71 MB / 9.016 GB, free: 58.25 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-05/30.71, allocations: 5.281 kB / 9.016 GB, free: 58.25 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.006774/30.71, allocations: 3.567 MB / 9.019 GB, free: 58.11 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02801/30.74, allocations: 4.874 MB / 9.024 GB, free: 58.01 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05804/30.8, allocations: 23.57 MB / 9.047 GB, free: 55.01 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01012/30.81, allocations: 7.109 MB / 9.054 GB, free: 54.09 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.03175/30.84, allocations: 11.96 MB / 9.065 GB, free: 54.01 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009096/30.85, allocations: 3.223 MB / 9.069 GB, free: 54 MB / 1.057 GB Notification: Performance of SimCode: time 1.012e-06/30.85, allocations: 1.844 kB / 9.069 GB, free: 54 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.293/32.15, allocations: 321.7 MB / 9.383 GB, free: 130.7 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/32.15, allocations: 232.8 kB / 9.383 GB, free: 130.4 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/44.23, allocations: 0 / 9.383 GB, free: 130.4 MB / 1.104 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)