Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 175.3 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009258/0.0009258, allocations: 90.34 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 9.875 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1983, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.506/5.704, allocations: 2.472 GB / 3.372 GB, free: 84 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/5.704, allocations: 97.58 kB / 3.372 GB, free: 83.91 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 19.68/25.38, allocations: 5.27 GB / 8.642 GB, free: 50.78 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.807e-06/25.38, allocations: 0 / 8.642 GB, free: 50.78 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003987/25.39, allocations: 208.1 kB / 8.642 GB, free: 50.75 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1612 * Number of variables: 1612 Notification: Performance of Generate backend data structure: time 0.05563/25.44, allocations: 11.29 MB / 8.654 GB, free: 47.12 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.445e-05/25.44, allocations: 6.344 kB / 8.654 GB, free: 47.12 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007585/25.45, allocations: 0.9436 MB / 8.654 GB, free: 47.04 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/25.47, allocations: 1.869 MB / 8.656 GB, free: 46.55 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04564/25.51, allocations: 15.02 MB / 8.671 GB, free: 45.23 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009545/25.51, allocations: 484.4 kB / 8.671 GB, free: 45.21 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004869/25.52, allocations: 0.655 MB / 8.672 GB, free: 45.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04311/25.56, allocations: 11.58 MB / 8.683 GB, free: 44.58 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006373/25.56, allocations: 12.06 kB / 8.683 GB, free: 44.58 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004256/25.57, allocations: 265.2 kB / 8.684 GB, free: 44.58 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004287/25.57, allocations: 292.4 kB / 8.684 GB, free: 44.56 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03121/25.6, allocations: 10.76 MB / 8.694 GB, free: 44.47 MB / 0.9792 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.1076/25.71, allocations: 49.88 MB / 8.743 GB, free: 21.39 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/25.72, allocations: 6.945 MB / 8.75 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/25.72, allocations: 0.9331 MB / 8.751 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/25.72, allocations: 77.47 kB / 8.751 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009922/25.73, allocations: 1.382 MB / 8.752 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 3.7e-05/25.73, allocations: 0 / 8.752 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.06253/25.79, allocations: 19.35 MB / 8.771 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/25.79, allocations: 94.06 kB / 8.771 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02421/25.82, allocations: 8.111 MB / 8.779 GB, free: 5.688 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002377/25.82, allocations: 110.9 kB / 8.779 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009207/25.83, allocations: 3.627 MB / 8.783 GB, free: 2.285 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004241/25.83, allocations: 1.338 MB / 8.784 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/25.83, allocations: 76 kB / 8.784 GB, free: 0.9961 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0007546/25.84, allocations: 488.3 kB / 8.785 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01716/25.85, allocations: 4.208 MB / 8.789 GB, free: 15.85 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00933/25.86, allocations: 4.594 MB / 8.793 GB, free: 11.25 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009078/25.87, allocations: 4.333 MB / 8.797 GB, free: 6.906 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.793e-05/25.87, allocations: 4 kB / 8.797 GB, free: 6.902 MB / 1.01 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.9377/26.81, allocations: 8.564 MB / 8.806 GB, free: 88.49 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.002074/26.81, allocations: 8.94 MB / 8.815 GB, free: 79.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/26.81, allocations: 19.12 kB / 8.815 GB, free: 79.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008968/26.81, allocations: 255.8 kB / 8.815 GB, free: 79.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006229/26.82, allocations: 1.091 MB / 8.816 GB, free: 79.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/26.82, allocations: 3.556 MB / 8.819 GB, free: 77.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01351/26.84, allocations: 1.166 MB / 8.82 GB, free: 77.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/26.84, allocations: 163 kB / 8.821 GB, free: 77.86 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/26.84, allocations: 3.344 kB / 8.821 GB, free: 77.86 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0195/26.86, allocations: 8.002 MB / 8.828 GB, free: 77.76 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.013e-05/26.86, allocations: 19.47 kB / 8.828 GB, free: 77.76 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000782/26.86, allocations: 263.3 kB / 8.829 GB, free: 77.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005444/26.86, allocations: 1.084 MB / 8.83 GB, free: 77.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004133/26.87, allocations: 3.561 MB / 8.833 GB, free: 76.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/26.88, allocations: 1.149 MB / 8.834 GB, free: 76.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/26.88, allocations: 164.4 kB / 8.835 GB, free: 76.43 MB / 1.01 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.01275/26.9, allocations: 5.321 MB / 8.84 GB, free: 76.24 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002969/26.9, allocations: 0.616 MB / 8.84 GB, free: 76.24 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01664/26.92, allocations: 8.059 MB / 8.848 GB, free: 76.03 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.431e-05/26.92, allocations: 43.27 kB / 8.848 GB, free: 76.03 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/26.92, allocations: 3.609 kB / 8.848 GB, free: 76.03 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0101/26.93, allocations: 6.804 MB / 8.855 GB, free: 75.49 MB / 1.01 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.05812/26.98, allocations: 20.12 MB / 8.875 GB, free: 74.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/26.98, allocations: 2.219 kB / 8.875 GB, free: 74.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005076/26.99, allocations: 1.127 MB / 8.876 GB, free: 74.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007633/26.99, allocations: 239.1 kB / 8.876 GB, free: 74.29 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005831/26.99, allocations: 128.7 kB / 8.876 GB, free: 74.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/26.99, allocations: 3.534 MB / 8.879 GB, free: 72.96 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/26.99, allocations: 6.625 kB / 8.879 GB, free: 72.96 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02079/27.02, allocations: 12.94 MB / 8.892 GB, free: 71.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01061/27.03, allocations: 2.174 MB / 8.894 GB, free: 71.68 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004176/27.03, allocations: 120.9 kB / 8.894 GB, free: 71.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01212/27.04, allocations: 0.9527 MB / 8.895 GB, free: 71.66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/27.04, allocations: 233.4 kB / 8.895 GB, free: 71.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001245/27.04, allocations: 139.6 kB / 8.896 GB, free: 71.66 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01949/27.06, allocations: 6.455 MB / 8.902 GB, free: 71.44 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.32e-07/27.06, allocations: 0 / 8.902 GB, free: 71.44 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0331/27.1, allocations: 4.706 MB / 8.907 GB, free: 71.44 MB / 1.01 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.04183/27.14, allocations: 18.46 MB / 8.925 GB, free: 67.03 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02551/27.17, allocations: 11.8 MB / 8.936 GB, free: 66.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.219e-05/27.17, allocations: 7.062 kB / 8.936 GB, free: 66.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00819/27.17, allocations: 3.675 MB / 8.94 GB, free: 66.57 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02967/27.2, allocations: 4.871 MB / 8.944 GB, free: 66.47 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0834/27.29, allocations: 42.96 MB / 8.986 GB, free: 44.96 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02236/27.31, allocations: 7.149 MB / 8.993 GB, free: 44.05 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02622/27.34, allocations: 6.765 MB / 9 GB, free: 43.98 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0139/27.35, allocations: 3.339 MB / 9.003 GB, free: 43.97 MB / 1.01 GB Notification: Performance of SimCode: time 2.064e-06/27.35, allocations: 3.094 kB / 9.003 GB, free: 43.97 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.391/28.74, allocations: 306.7 MB / 9.303 GB, free: 130.2 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/28.74, allocations: 252.6 kB / 9.303 GB, free: 129.8 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/39.79, allocations: 0 / 9.303 GB, free: 129.8 MB / 1.057 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.pipe 2>&1)