Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.603/2.603, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001532/0.001532, allocations: 189.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001168/0.001167, allocations: 93.25 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004905, allocations: 16.72 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.79/8.007, allocations: 2.355 GB / 3.333 GB, free: 267.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/8.007, allocations: 101.1 kB / 3.333 GB, free: 267.7 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 29.64/37.65, allocations: 5.416 GB / 8.749 GB, free: 58.13 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.474e-06/37.65, allocations: 2.406 kB / 8.749 GB, free: 58.13 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002733/37.65, allocations: 206.2 kB / 8.749 GB, free: 58.11 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.0568/37.71, allocations: 11.27 MB / 8.76 GB, free: 54.68 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/37.71, allocations: 10.31 kB / 8.76 GB, free: 54.68 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005737/37.71, allocations: 0.9382 MB / 8.761 GB, free: 54.6 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/37.73, allocations: 1.864 MB / 8.763 GB, free: 54.11 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05063/37.78, allocations: 14.96 MB / 8.777 GB, free: 52.96 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007925/37.78, allocations: 481.5 kB / 8.778 GB, free: 52.94 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004157/37.79, allocations: 0.6422 MB / 8.779 GB, free: 52.93 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04185/37.83, allocations: 11.52 MB / 8.79 GB, free: 52.33 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004872/37.83, allocations: 15.72 kB / 8.79 GB, free: 52.33 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003432/37.83, allocations: 260 kB / 8.79 GB, free: 52.33 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004614/37.83, allocations: 294.4 kB / 8.79 GB, free: 52.31 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03568/37.87, allocations: 10.69 MB / 8.801 GB, free: 52.25 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.1201/37.99, allocations: 49.81 MB / 8.849 GB, free: 35.22 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/38.01, allocations: 7.474 MB / 8.857 GB, free: 34.36 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/38.01, allocations: 0.9315 MB / 8.858 GB, free: 33.42 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.319e-05/38.01, allocations: 81.61 kB / 8.858 GB, free: 33.38 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01165/38.02, allocations: 1.379 MB / 8.859 GB, free: 33.23 MB / 1.042 GB Notification: Performance of pre-optimization done (n=369): time 2.38e-05/38.02, allocations: 0 / 8.859 GB, free: 33.23 MB / 1.042 GB Notification: Performance of matching and sorting (n=375): time 0.07657/38.1, allocations: 19.39 MB / 8.878 GB, free: 31.22 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/38.1, allocations: 97.27 kB / 8.878 GB, free: 31.15 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02426/38.12, allocations: 8.059 MB / 8.886 GB, free: 30.54 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.00171/38.12, allocations: 107.5 kB / 8.886 GB, free: 30.45 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.006623/38.13, allocations: 3.624 MB / 8.89 GB, free: 27.73 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003215/38.13, allocations: 1.323 MB / 8.891 GB, free: 26.71 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000993/38.13, allocations: 75.12 kB / 8.891 GB, free: 26.66 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0005406/38.14, allocations: 496.3 kB / 8.891 GB, free: 26.29 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00939/38.14, allocations: 3.374 MB / 8.895 GB, free: 25.33 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/38.16, allocations: 4.621 MB / 8.899 GB, free: 23.18 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/38.17, allocations: 4.346 MB / 8.903 GB, free: 21.82 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.198e-05/38.17, allocations: 7.438 kB / 8.903 GB, free: 21.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02698/38.19, allocations: 8.61 MB / 8.912 GB, free: 18.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.003718/38.2, allocations: 8.948 MB / 8.921 GB, free: 24.7 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.359e-05/38.2, allocations: 20 kB / 8.921 GB, free: 24.68 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/38.2, allocations: 263.3 kB / 8.921 GB, free: 24.47 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009586/38.21, allocations: 1.093 MB / 8.922 GB, free: 23.66 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/38.22, allocations: 3.566 MB / 8.925 GB, free: 20.41 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01633/38.23, allocations: 1.164 MB / 8.927 GB, free: 19.7 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00174/38.23, allocations: 167.1 kB / 8.927 GB, free: 19.55 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/38.23, allocations: 4 kB / 8.927 GB, free: 19.54 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02462/38.26, allocations: 8.046 MB / 8.935 GB, free: 12.86 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.938e-05/38.26, allocations: 18.41 kB / 8.935 GB, free: 12.84 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/38.26, allocations: 252.3 kB / 8.935 GB, free: 12.64 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009412/38.27, allocations: 1.097 MB / 8.936 GB, free: 11.78 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00614/38.28, allocations: 3.565 MB / 8.939 GB, free: 8.5 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01593/38.29, allocations: 1.146 MB / 8.941 GB, free: 7.805 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001614/38.29, allocations: 163.5 kB / 8.941 GB, free: 7.66 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.01573/38.31, allocations: 5.26 MB / 8.946 GB, free: 3.414 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00417/38.31, allocations: 0.6175 MB / 8.946 GB, free: 2.789 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03636/38.35, allocations: 8.453 MB / 8.955 GB, free: 12.96 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.722e-05/38.35, allocations: 36 kB / 8.955 GB, free: 12.93 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/38.35, allocations: 10.22 kB / 8.955 GB, free: 12.92 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02177/38.37, allocations: 6.839 MB / 8.961 GB, free: 6.984 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.07743/38.45, allocations: 21.04 MB / 8.982 GB, free: 6.73 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/38.45, allocations: 7.625 kB / 8.982 GB, free: 6.727 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01021/38.46, allocations: 1.075 MB / 8.983 GB, free: 5.902 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/38.46, allocations: 242.5 kB / 8.983 GB, free: 5.711 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001441/38.46, allocations: 127.8 kB / 8.983 GB, free: 5.602 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007077/38.47, allocations: 3.521 MB / 8.987 GB, free: 2.355 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/38.47, allocations: 11.89 kB / 8.987 GB, free: 2.344 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.012/39.48, allocations: 13.51 MB / 9 GB, free: 109.5 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01025/39.49, allocations: 2.12 MB / 9.002 GB, free: 109.4 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003701/39.49, allocations: 112.5 kB / 9.002 GB, free: 109.4 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01394/39.51, allocations: 0.9458 MB / 9.003 GB, free: 109.4 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001741/39.51, allocations: 233.1 kB / 9.003 GB, free: 109.4 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001146/39.51, allocations: 136 kB / 9.003 GB, free: 109.4 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.02119/39.53, allocations: 6.406 MB / 9.01 GB, free: 109.2 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.433e-06/39.53, allocations: 0 / 9.01 GB, free: 109.2 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.03287/39.57, allocations: 4.687 MB / 9.014 GB, free: 109.2 MB / 1.089 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.05037/39.62, allocations: 18.5 MB / 9.032 GB, free: 105.1 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.03234/39.65, allocations: 11.86 MB / 9.044 GB, free: 104.8 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/39.65, allocations: 3.594 kB / 9.044 GB, free: 104.8 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01055/39.66, allocations: 3.691 MB / 9.048 GB, free: 104.7 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03988/39.7, allocations: 4.876 MB / 9.052 GB, free: 104.6 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0842/39.78, allocations: 42.79 MB / 9.094 GB, free: 83.2 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01717/39.8, allocations: 7.106 MB / 9.101 GB, free: 82.29 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.03018/39.83, allocations: 6.673 MB / 9.108 GB, free: 82.23 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01231/39.84, allocations: 3.322 MB / 9.111 GB, free: 82.23 MB / 1.089 GB Notification: Performance of SimCode: time 1.243e-06/39.84, allocations: 0 / 9.111 GB, free: 82.23 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.584/41.43, allocations: 307.3 MB / 9.411 GB, free: 134.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/41.43, allocations: 251.4 kB / 9.411 GB, free: 134.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/55.04, allocations: 2.141 kB / 9.411 GB, free: 134.5 MB / 1.151 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)