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.76/1.76, allocations: 285.6 MB / 293.1 MB, free: 10.29 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.001034/0.001034, allocations: 184.8 kB / 361.4 MB, free: 6.871 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.509/1.509, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0008559/0.0008559, allocations: 93.67 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.085e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7634/0.7635, allocations: 115.3 MB / 0.9645 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.361/7.125, allocations: 2.354 GB / 3.319 GB, free: 173.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/7.125, allocations: 85.62 kB / 3.319 GB, free: 173.3 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.55/29.67, allocations: 5.363 GB / 8.682 GB, free: 57.89 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.465e-06/29.67, allocations: 4 kB / 8.682 GB, free: 57.89 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002528/29.67, allocations: 206.5 kB / 8.682 GB, free: 57.86 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.03835/29.71, allocations: 8.865 MB / 8.691 GB, free: 54.78 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/29.71, allocations: 6.969 kB / 8.691 GB, free: 54.78 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01522/29.73, allocations: 1.855 MB / 8.693 GB, free: 54.28 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0386/29.77, allocations: 14.88 MB / 8.707 GB, free: 52.93 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005258/29.77, allocations: 202.8 kB / 8.707 GB, free: 52.93 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003801/29.77, allocations: 391 kB / 8.708 GB, free: 52.92 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02347/29.79, allocations: 9.863 MB / 8.717 GB, free: 51.04 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/29.83, allocations: 10.43 MB / 8.727 GB, free: 43.3 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005752/29.83, allocations: 27.84 kB / 8.727 GB, free: 43.28 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003398/29.83, allocations: 4 kB / 8.727 GB, free: 43.27 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003548/29.83, allocations: 292.7 kB / 8.728 GB, free: 43 MB / 1.026 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.08891/29.92, allocations: 48.53 MB / 8.775 GB, free: 11.58 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/29.93, allocations: 8.011 MB / 8.783 GB, free: 3.336 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00824/29.94, allocations: 4.411 MB / 8.787 GB, free: 14.93 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/29.94, allocations: 0.9367 MB / 8.788 GB, free: 13.82 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/29.94, allocations: 81.28 kB / 8.788 GB, free: 13.73 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008695/29.95, allocations: 1.296 MB / 8.79 GB, free: 12.44 MB / 1.057 GB Notification: Performance of pre-optimization done (n=369): time 4.015e-05/29.95, allocations: 0 / 8.79 GB, free: 12.44 MB / 1.057 GB Notification: Performance of matching and sorting (n=375): time 0.9664/30.92, allocations: 15.1 MB / 8.804 GB, free: 97.41 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/30.92, allocations: 89.73 kB / 8.804 GB, free: 97.34 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01779/30.94, allocations: 7.616 MB / 8.812 GB, free: 97.01 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001689/30.94, allocations: 32.02 kB / 8.812 GB, free: 96.98 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.005799/30.95, allocations: 3.598 MB / 8.815 GB, free: 96.85 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.003551/30.95, allocations: 1.273 MB / 8.817 GB, free: 96.47 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005873/30.95, allocations: 1.75 kB / 8.817 GB, free: 96.47 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0005614/30.95, allocations: 496.4 kB / 8.817 GB, free: 96.16 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004773/30.96, allocations: 3.167 MB / 8.82 GB, free: 96.16 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005429/30.96, allocations: 4.383 MB / 8.824 GB, free: 95.07 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00617/30.97, allocations: 4.182 MB / 8.829 GB, free: 95.02 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/30.97, allocations: 7 kB / 8.829 GB, free: 95.02 MB / 1.057 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01336/30.98, allocations: 8.019 MB / 8.836 GB, free: 94.59 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001919/30.98, allocations: 9.116 MB / 8.845 GB, free: 85.36 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/30.98, allocations: 17 kB / 8.845 GB, free: 85.36 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/30.98, allocations: 228.8 kB / 8.846 GB, free: 85.35 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/30.99, allocations: 1.112 MB / 8.847 GB, free: 85.35 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/30.99, allocations: 2.773 MB / 8.849 GB, free: 84.14 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/31, allocations: 1.077 MB / 8.85 GB, free: 84.12 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008073/31, allocations: 168.4 kB / 8.851 GB, free: 84.12 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/31, allocations: 2.844 kB / 8.851 GB, free: 84.12 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01241/31.01, allocations: 7.378 MB / 8.858 GB, free: 84.02 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.329e-05/31.01, allocations: 19.94 kB / 8.858 GB, free: 84.02 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008617/31.02, allocations: 228.1 kB / 8.858 GB, free: 84 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006156/31.02, allocations: 1.112 MB / 8.859 GB, free: 84 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/31.02, allocations: 2.767 MB / 8.862 GB, free: 82.8 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/31.04, allocations: 1.069 MB / 8.863 GB, free: 82.77 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/31.04, allocations: 171.6 kB / 8.863 GB, free: 82.77 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.003214/31.04, allocations: 192.4 kB / 8.863 GB, free: 82.67 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01587/31.06, allocations: 6.808 MB / 8.87 GB, free: 82.23 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003745/31.06, allocations: 0.6088 MB / 8.87 GB, free: 81.91 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02259/31.08, allocations: 7.52 MB / 8.878 GB, free: 81.7 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-05/31.08, allocations: 37.19 kB / 8.878 GB, free: 81.7 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/31.08, allocations: 2.828 kB / 8.878 GB, free: 81.7 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01045/31.09, allocations: 6.365 MB / 8.884 GB, free: 81.16 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.03708/31.13, allocations: 19.25 MB / 8.903 GB, free: 79.56 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/31.13, allocations: 6.531 kB / 8.903 GB, free: 79.56 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004653/31.14, allocations: 1.087 MB / 8.904 GB, free: 79.56 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006038/31.14, allocations: 202.9 kB / 8.904 GB, free: 79.55 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003941/31.14, allocations: 74.31 kB / 8.904 GB, free: 79.55 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002696/31.14, allocations: 2.75 MB / 8.907 GB, free: 78.35 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/31.14, allocations: 5.812 kB / 8.907 GB, free: 78.35 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/31.16, allocations: 12.26 MB / 8.919 GB, free: 76.82 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009086/31.17, allocations: 2.099 MB / 8.921 GB, free: 76.41 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003981/31.17, allocations: 56.55 kB / 8.921 GB, free: 76.41 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01066/31.18, allocations: 0.8783 MB / 8.922 GB, free: 76.39 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001279/31.18, allocations: 236.5 kB / 8.922 GB, free: 76.39 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005385/31.18, allocations: 142.2 kB / 8.922 GB, free: 76.39 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01139/31.19, allocations: 5.978 MB / 8.928 GB, free: 76.17 MB / 1.057 GB Notification: Performance of sort global known variables: time 5.21e-07/31.19, allocations: 0 / 8.928 GB, free: 76.17 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02274/31.22, allocations: 4.326 MB / 8.932 GB, free: 76.17 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.02605/31.24, allocations: 18.08 MB / 8.95 GB, free: 71.77 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0179/31.26, allocations: 11.24 MB / 8.961 GB, free: 71.46 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/31.26, allocations: 3.938 kB / 8.961 GB, free: 71.46 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004796/31.27, allocations: 3.42 MB / 8.964 GB, free: 71.34 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02536/31.29, allocations: 4.742 MB / 8.969 GB, free: 71.25 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06714/31.36, allocations: 23.85 MB / 8.992 GB, free: 68.28 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01583/31.37, allocations: 7.11 MB / 8.999 GB, free: 67.36 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.03391/31.41, allocations: 11.84 MB / 9.011 GB, free: 67.28 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0102/31.42, allocations: 3.222 MB / 9.014 GB, free: 67.27 MB / 1.057 GB Notification: Performance of SimCode: time 1.032e-06/31.42, allocations: 0 / 9.014 GB, free: 67.27 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.316/32.74, allocations: 266.9 MB / 9.274 GB, free: 127.6 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/32.74, allocations: 194.5 kB / 9.275 GB, free: 127.4 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/43.36, allocations: 1.688 kB / 9.275 GB, free: 127.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)