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.703/1.703, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001197/0.001197, allocations: 178.2 kB / 371.6 MB, free: 3.336 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.678/1.678, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009938/0.000994, allocations: 93.91 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.926e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.258, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.104/7.362, allocations: 2.356 GB / 3.336 GB, free: 196.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/7.362, allocations: 88.66 kB / 3.336 GB, free: 196.1 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 23.72/31.09, allocations: 5.407 GB / 8.743 GB, free: 52.98 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.843e-06/31.09, allocations: 0 / 8.743 GB, free: 52.98 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.002409/31.09, allocations: 209.9 kB / 8.743 GB, free: 52.95 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.03653/31.13, allocations: 8.862 MB / 8.751 GB, free: 49.85 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/31.13, allocations: 11.53 kB / 8.751 GB, free: 49.85 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006085/31.13, allocations: 0.9363 MB / 8.752 GB, free: 49.77 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/31.15, allocations: 1.855 MB / 8.754 GB, free: 49.26 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03853/31.19, allocations: 14.88 MB / 8.769 GB, free: 47.76 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006296/31.19, allocations: 484 kB / 8.769 GB, free: 47.74 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003645/31.19, allocations: 0.6414 MB / 8.77 GB, free: 47.73 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03201/31.22, allocations: 11.34 MB / 8.781 GB, free: 47.08 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003692/31.22, allocations: 21.69 kB / 8.781 GB, free: 47.07 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003004/31.23, allocations: 261.4 kB / 8.781 GB, free: 47.07 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003072/31.23, allocations: 288.9 kB / 8.781 GB, free: 47.05 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02451/31.25, allocations: 10.42 MB / 8.792 GB, free: 45.44 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.0896/31.34, allocations: 49.78 MB / 8.84 GB, free: 4.758 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/31.35, allocations: 7.359 MB / 8.847 GB, free: 14.17 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00809/31.36, allocations: 4.574 MB / 8.852 GB, free: 10.23 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/31.36, allocations: 0.9319 MB / 8.853 GB, free: 9.145 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.832e-05/31.36, allocations: 89.36 kB / 8.853 GB, free: 9.047 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008859/31.37, allocations: 1.383 MB / 8.854 GB, free: 7.699 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 3.154e-05/31.37, allocations: 0 / 8.854 GB, free: 7.699 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.0493/31.42, allocations: 15.75 MB / 8.87 GB, free: 7.809 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/31.42, allocations: 90.36 kB / 8.87 GB, free: 7.707 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9258/32.35, allocations: 7.99 MB / 8.878 GB, free: 91.88 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001704/32.35, allocations: 109.5 kB / 8.878 GB, free: 91.84 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00689/32.35, allocations: 3.618 MB / 8.881 GB, free: 91.71 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003463/32.36, allocations: 1.329 MB / 8.882 GB, free: 91.32 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004778/32.36, allocations: 77.03 kB / 8.883 GB, free: 91.32 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0004368/32.36, allocations: 493.7 kB / 8.883 GB, free: 91.02 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006106/32.37, allocations: 3.293 MB / 8.886 GB, free: 91.01 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008435/32.37, allocations: 4.529 MB / 8.891 GB, free: 89.94 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009256/32.38, allocations: 4.273 MB / 8.895 GB, free: 89.88 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.039e-05/32.38, allocations: 9.391 kB / 8.895 GB, free: 89.88 MB / 1.073 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01872/32.4, allocations: 8.414 MB / 8.903 GB, free: 89.45 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001997/32.4, allocations: 8.944 MB / 8.912 GB, free: 80.12 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.454e-05/32.4, allocations: 17.09 kB / 8.912 GB, free: 80.12 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000755/32.4, allocations: 228.9 kB / 8.912 GB, free: 80.12 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/32.41, allocations: 1.108 MB / 8.913 GB, free: 80.12 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/32.41, allocations: 2.848 MB / 8.916 GB, free: 78.86 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/32.42, allocations: 1.171 MB / 8.917 GB, free: 78.82 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/32.43, allocations: 161.4 kB / 8.917 GB, free: 78.82 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/32.43, allocations: 4.656 kB / 8.917 GB, free: 78.82 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01744/32.44, allocations: 7.842 MB / 8.925 GB, free: 78.72 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-05/32.44, allocations: 17.72 kB / 8.925 GB, free: 78.72 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007707/32.44, allocations: 222.2 kB / 8.925 GB, free: 78.71 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005736/32.45, allocations: 1.109 MB / 8.926 GB, free: 78.71 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/32.45, allocations: 2.856 MB / 8.929 GB, free: 77.45 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/32.46, allocations: 1.152 MB / 8.93 GB, free: 77.43 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/32.47, allocations: 165.8 kB / 8.93 GB, free: 77.43 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 () * 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.002982/32.47, allocations: 342.3 kB / 8.931 GB, free: 77.32 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003125/32.47, allocations: 0.6154 MB / 8.931 GB, free: 77 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02446/32.5, allocations: 7.91 MB / 8.939 GB, free: 76.79 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.858e-05/32.5, allocations: 38.19 kB / 8.939 GB, free: 76.79 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-05/32.5, allocations: 4.844 kB / 8.939 GB, free: 76.79 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01412/32.51, allocations: 6.651 MB / 8.945 GB, free: 76.25 MB / 1.073 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.05646/32.57, allocations: 20.51 MB / 8.965 GB, free: 74.62 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-05/32.57, allocations: 4.062 kB / 8.965 GB, free: 74.62 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006274/32.57, allocations: 1.087 MB / 8.967 GB, free: 74.62 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007531/32.58, allocations: 206 kB / 8.967 GB, free: 74.61 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/32.58, allocations: 126.9 kB / 8.967 GB, free: 74.61 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/32.58, allocations: 2.829 MB / 8.97 GB, free: 73.34 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/32.58, allocations: 5.438 kB / 8.97 GB, free: 73.34 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02734/32.61, allocations: 12.73 MB / 8.982 GB, free: 71.81 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008741/32.62, allocations: 2.123 MB / 8.984 GB, free: 71.4 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004005/32.62, allocations: 111.9 kB / 8.984 GB, free: 71.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01056/32.63, allocations: 0.9478 MB / 8.985 GB, free: 71.38 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001523/32.63, allocations: 241.2 kB / 8.985 GB, free: 71.37 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001232/32.63, allocations: 136.9 kB / 8.986 GB, free: 71.37 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01565/32.65, allocations: 6.34 MB / 8.992 GB, free: 71.12 MB / 1.073 GB Notification: Performance of sort global known variables: time 6.51e-07/32.65, allocations: 0 / 8.992 GB, free: 71.12 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.02786/32.68, allocations: 4.598 MB / 8.996 GB, free: 71.12 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 () * 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.03484/32.71, allocations: 18.24 MB / 9.014 GB, free: 66.68 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02523/32.74, allocations: 11.73 MB / 9.025 GB, free: 66.33 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.55e-05/32.74, allocations: 8.172 kB / 9.025 GB, free: 66.33 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.007025/32.74, allocations: 3.557 MB / 9.029 GB, free: 66.2 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02862/32.77, allocations: 4.868 MB / 9.034 GB, free: 66.11 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06449/32.84, allocations: 23.57 MB / 9.057 GB, free: 63.14 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01433/32.85, allocations: 7.107 MB / 9.064 GB, free: 62.22 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.03299/32.88, allocations: 11.97 MB / 9.075 GB, free: 62.14 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01048/32.9, allocations: 3.22 MB / 9.078 GB, free: 62.13 MB / 1.073 GB Notification: Performance of SimCode: time 2.846e-06/32.9, allocations: 0 / 9.078 GB, free: 62.13 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.517/34.41, allocations: 321.7 MB / 9.393 GB, free: 141.1 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/34.41, allocations: 228.7 kB / 9.393 GB, free: 140.9 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/46.88, allocations: 0 / 9.393 GB, free: 140.9 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)