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.374/2.374, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001501/0.0015, allocations: 176.8 kB / 360.6 MB, free: 7.281 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.981/1.981, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001115/0.001115, allocations: 88.86 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.744e-05, allocations: 4 kB / 0.8508 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8015/0.8016, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.948/7.75, allocations: 2.354 GB / 3.317 GB, free: 128.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/7.75, allocations: 87.39 kB / 3.317 GB, free: 128.1 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 28.54/36.29, allocations: 5.363 GB / 8.681 GB, free: 42.6 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.204e-06/36.29, allocations: 0 / 8.681 GB, free: 42.6 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002604/36.3, allocations: 207.1 kB / 8.681 GB, free: 42.4 MB / 1.026 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.04248/36.34, allocations: 8.869 MB / 8.69 GB, free: 33.46 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/36.34, allocations: 8.031 kB / 8.69 GB, free: 33.46 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01774/36.36, allocations: 1.862 MB / 8.691 GB, free: 31.58 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05171/36.41, allocations: 14.89 MB / 8.706 GB, free: 16.65 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/36.41, allocations: 196 kB / 8.706 GB, free: 16.46 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003886/36.41, allocations: 391.9 kB / 8.706 GB, free: 16.07 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02921/36.44, allocations: 9.852 MB / 8.716 GB, free: 6.211 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03868/36.48, allocations: 10.45 MB / 8.726 GB, free: 11.58 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004405/36.48, allocations: 19.92 kB / 8.726 GB, free: 11.56 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003137/36.48, allocations: 4 kB / 8.726 GB, free: 11.56 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005035/36.48, allocations: 296.1 kB / 8.727 GB, free: 11.27 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 1.055/37.54, allocations: 48.52 MB / 8.774 GB, free: 84.35 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/37.56, allocations: 8.005 MB / 8.782 GB, free: 82.88 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01078/37.57, allocations: 4.411 MB / 8.786 GB, free: 82.85 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/37.57, allocations: 0.9406 MB / 8.787 GB, free: 81.9 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/37.57, allocations: 81.88 kB / 8.787 GB, free: 81.86 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01118/37.58, allocations: 1.293 MB / 8.788 GB, free: 81.86 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 3.986e-05/37.58, allocations: 0 / 8.788 GB, free: 81.86 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.05773/37.64, allocations: 15.11 MB / 8.803 GB, free: 80.34 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/37.64, allocations: 88.89 kB / 8.803 GB, free: 80.27 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02328/37.66, allocations: 7.623 MB / 8.811 GB, free: 79.93 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001619/37.66, allocations: 29.45 kB / 8.811 GB, free: 79.9 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.006519/37.67, allocations: 3.592 MB / 8.814 GB, free: 79.08 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.003237/37.67, allocations: 1.275 MB / 8.815 GB, free: 78.42 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008609/37.67, allocations: 0 / 8.815 GB, free: 78.42 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0005355/37.67, allocations: 493.9 kB / 8.816 GB, free: 78.11 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008463/37.68, allocations: 3.166 MB / 8.819 GB, free: 78.1 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/37.69, allocations: 4.383 MB / 8.823 GB, free: 77.02 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/37.7, allocations: 4.183 MB / 8.827 GB, free: 76.96 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-05/37.71, allocations: 7.25 kB / 8.827 GB, free: 76.96 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02636/37.73, allocations: 8.025 MB / 8.835 GB, free: 76.52 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002208/37.73, allocations: 9.108 MB / 8.844 GB, free: 67.29 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/37.73, allocations: 17.81 kB / 8.844 GB, free: 67.29 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/37.74, allocations: 223.9 kB / 8.844 GB, free: 67.28 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009778/37.74, allocations: 1.115 MB / 8.845 GB, free: 67.28 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004543/37.75, allocations: 2.778 MB / 8.848 GB, free: 66.07 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01664/37.77, allocations: 1.082 MB / 8.849 GB, free: 66.05 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001902/37.77, allocations: 171.2 kB / 8.849 GB, free: 66.05 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/37.77, allocations: 0 / 8.849 GB, free: 66.05 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02328/37.79, allocations: 7.376 MB / 8.857 GB, free: 65.95 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/37.79, allocations: 18.75 kB / 8.857 GB, free: 65.95 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009653/37.79, allocations: 230.5 kB / 8.857 GB, free: 65.94 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009974/37.8, allocations: 1.11 MB / 8.858 GB, free: 65.94 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00489/37.81, allocations: 2.768 MB / 8.861 GB, free: 64.73 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01661/37.82, allocations: 1.068 MB / 8.862 GB, free: 64.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/37.83, allocations: 166.8 kB / 8.862 GB, free: 64.71 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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.00262/37.83, allocations: 190.3 kB / 8.862 GB, free: 64.6 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02191/37.85, allocations: 6.814 MB / 8.869 GB, free: 64.15 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003816/37.85, allocations: 0.6037 MB / 8.869 GB, free: 63.84 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02621/37.88, allocations: 7.511 MB / 8.877 GB, free: 63.62 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.229e-05/37.88, allocations: 41.44 kB / 8.877 GB, free: 63.62 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/37.88, allocations: 2.5 kB / 8.877 GB, free: 63.62 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01825/37.9, allocations: 6.367 MB / 8.883 GB, free: 63.09 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.06073/37.96, allocations: 19.26 MB / 8.902 GB, free: 61.48 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/37.96, allocations: 6.297 kB / 8.902 GB, free: 61.48 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0101/37.97, allocations: 1.087 MB / 8.903 GB, free: 61.48 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009497/37.97, allocations: 204.4 kB / 8.903 GB, free: 61.48 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001267/37.97, allocations: 75.3 kB / 8.903 GB, free: 61.48 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/37.98, allocations: 2.742 MB / 8.906 GB, free: 60.27 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-05/37.98, allocations: 12.11 kB / 8.906 GB, free: 60.27 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02949/38.01, allocations: 12.26 MB / 8.918 GB, free: 58.74 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01031/38.02, allocations: 2.099 MB / 8.92 GB, free: 58.34 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003712/38.02, allocations: 50.02 kB / 8.92 GB, free: 58.34 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01375/38.03, allocations: 0.8835 MB / 8.921 GB, free: 58.32 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00147/38.04, allocations: 226.7 kB / 8.921 GB, free: 58.31 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008064/38.04, allocations: 143.3 kB / 8.921 GB, free: 58.31 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01571/38.05, allocations: 5.984 MB / 8.927 GB, free: 58.09 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.42e-07/38.05, allocations: 0 / 8.927 GB, free: 58.09 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03172/38.08, allocations: 4.323 MB / 8.931 GB, free: 58.09 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.03864/38.12, allocations: 18.07 MB / 8.949 GB, free: 53.68 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02728/38.15, allocations: 11.24 MB / 8.96 GB, free: 53.36 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/38.15, allocations: 3.094 kB / 8.96 GB, free: 53.36 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.008494/38.16, allocations: 3.417 MB / 8.963 GB, free: 53.24 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03803/38.2, allocations: 4.74 MB / 8.968 GB, free: 53.18 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08909/38.29, allocations: 23.84 MB / 8.991 GB, free: 50.21 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01636/38.3, allocations: 7.106 MB / 8.998 GB, free: 49.29 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.04975/38.35, allocations: 11.84 MB / 9.009 GB, free: 49.22 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01213/38.36, allocations: 3.22 MB / 9.012 GB, free: 49.21 MB / 1.057 GB Notification: Performance of SimCode: time 1.502e-06/38.36, allocations: 1.875 kB / 9.012 GB, free: 49.21 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.574/39.94, allocations: 266.9 MB / 9.273 GB, free: 125.4 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/39.94, allocations: 181.2 kB / 9.273 GB, free: 125.2 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/53.99, allocations: 0 / 9.273 GB, free: 125.2 MB / 1.089 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)