Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.191/2.191, allocations: 248.7 MB / 256.2 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 182.2 kB / 315.4 MB, free: 4.016 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.982/1.982, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 91.27 kB / 0.6704 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.289e-05/2.287e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1994, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.1/8.299, allocations: 2.472 GB / 3.356 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/8.3, allocations: 87.33 kB / 3.356 GB, free: 221.2 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.43/36.73, allocations: 5.218 GB / 8.574 GB, free: 79.96 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.114e-06/36.73, allocations: 0 / 8.574 GB, free: 79.96 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002813/36.73, allocations: 206.2 kB / 8.574 GB, free: 79.94 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.04465/36.77, allocations: 8.871 MB / 8.582 GB, free: 77.43 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/36.77, allocations: 9.844 kB / 8.582 GB, free: 77.43 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01826/36.79, allocations: 1.862 MB / 8.584 GB, free: 76.94 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05312/36.84, allocations: 14.95 MB / 8.599 GB, free: 75.75 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005739/36.85, allocations: 200.4 kB / 8.599 GB, free: 75.75 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003972/36.85, allocations: 392.4 kB / 8.599 GB, free: 75.75 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03094/36.88, allocations: 9.923 MB / 8.609 GB, free: 75.71 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03824/36.92, allocations: 10.51 MB / 8.619 GB, free: 75.14 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005304/36.92, allocations: 13.16 kB / 8.619 GB, free: 75.14 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003412/36.92, allocations: 7.781 kB / 8.619 GB, free: 75.14 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004644/36.92, allocations: 293.2 kB / 8.62 GB, free: 75.12 MB / 0.9792 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.1144/37.04, allocations: 48.6 MB / 8.667 GB, free: 58.23 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01576/37.05, allocations: 7.467 MB / 8.674 GB, free: 57.32 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01075/37.06, allocations: 4.391 MB / 8.679 GB, free: 57.27 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/37.07, allocations: 0.9333 MB / 8.68 GB, free: 56.33 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/37.07, allocations: 83.78 kB / 8.68 GB, free: 56.29 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01103/37.08, allocations: 1.295 MB / 8.681 GB, free: 56.16 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=369): time 3.58e-05/37.08, allocations: 0 / 8.681 GB, free: 56.16 MB / 0.9792 GB Notification: Performance of matching and sorting (n=375): time 0.05769/37.13, allocations: 15.04 MB / 8.696 GB, free: 54.25 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/37.14, allocations: 88.86 kB / 8.696 GB, free: 54.18 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02339/37.16, allocations: 7.672 MB / 8.703 GB, free: 53.83 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001526/37.16, allocations: 30.45 kB / 8.703 GB, free: 53.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.006468/37.17, allocations: 3.612 MB / 8.707 GB, free: 52.61 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003176/37.17, allocations: 1.277 MB / 8.708 GB, free: 51.76 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008021/37.17, allocations: 0 / 8.708 GB, free: 51.76 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005066/37.17, allocations: 498.2 kB / 8.709 GB, free: 51.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007608/37.18, allocations: 3.145 MB / 8.712 GB, free: 51.45 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009216/37.19, allocations: 4.359 MB / 8.716 GB, free: 50.36 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/37.2, allocations: 4.157 MB / 8.72 GB, free: 50.31 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-05/37.2, allocations: 8.062 kB / 8.72 GB, free: 50.31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02296/37.22, allocations: 7.976 MB / 8.728 GB, free: 49.87 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001963/37.22, allocations: 9.119 MB / 8.737 GB, free: 40.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/37.22, allocations: 19.95 kB / 8.737 GB, free: 40.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/37.22, allocations: 225 kB / 8.737 GB, free: 40.63 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009561/37.23, allocations: 1.108 MB / 8.738 GB, free: 40.63 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/37.24, allocations: 2.768 MB / 8.741 GB, free: 39.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01589/37.25, allocations: 1.087 MB / 8.742 GB, free: 39.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001755/37.26, allocations: 164 kB / 8.742 GB, free: 39.37 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/37.26, allocations: 8.344 kB / 8.742 GB, free: 39.37 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02133/37.28, allocations: 7.334 MB / 8.749 GB, free: 39.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-05/37.28, allocations: 20.58 kB / 8.749 GB, free: 39.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008818/37.28, allocations: 225.7 kB / 8.749 GB, free: 39.26 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009302/37.29, allocations: 1.104 MB / 8.75 GB, free: 39.26 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/37.29, allocations: 2.77 MB / 8.753 GB, free: 38.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01562/37.31, allocations: 1.068 MB / 8.754 GB, free: 38.01 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/37.31, allocations: 165.6 kB / 8.754 GB, free: 38.01 MB / 0.9792 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.001805/37.31, allocations: 194.7 kB / 8.754 GB, free: 37.89 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01849/37.33, allocations: 6.769 MB / 8.761 GB, free: 37.44 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003449/37.33, allocations: 0.6053 MB / 8.762 GB, free: 37.13 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02091/37.35, allocations: 7.473 MB / 8.769 GB, free: 36.91 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.112e-05/37.35, allocations: 34.19 kB / 8.769 GB, free: 36.91 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/37.35, allocations: 12.95 kB / 8.769 GB, free: 36.91 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01524/37.37, allocations: 6.328 MB / 8.775 GB, free: 36.36 MB / 0.9792 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.05637/37.43, allocations: 18.71 MB / 8.793 GB, free: 35.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/37.43, allocations: 8.75 kB / 8.793 GB, free: 35.15 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01014/37.44, allocations: 1.141 MB / 8.795 GB, free: 35.15 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009715/37.44, allocations: 209.1 kB / 8.795 GB, free: 35.14 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001186/37.44, allocations: 71.94 kB / 8.795 GB, free: 35.14 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004246/37.44, allocations: 2.746 MB / 8.798 GB, free: 33.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/37.44, allocations: 8.719 kB / 8.798 GB, free: 33.93 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02838/37.47, allocations: 12.21 MB / 8.809 GB, free: 30 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0103/37.48, allocations: 2.157 MB / 8.812 GB, free: 28.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003468/37.49, allocations: 57.73 kB / 8.812 GB, free: 27.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01391/37.5, allocations: 0.8904 MB / 8.812 GB, free: 27.45 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001572/37.5, allocations: 237.1 kB / 8.813 GB, free: 27.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000784/37.5, allocations: 134.6 kB / 8.813 GB, free: 27.19 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01645/37.52, allocations: 6.024 MB / 8.819 GB, free: 22.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.91e-07/37.52, allocations: 0 / 8.819 GB, free: 22.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.03135/37.55, allocations: 4.345 MB / 8.823 GB, free: 17.79 MB / 0.9792 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.03712/37.59, allocations: 18.05 MB / 8.841 GB, free: 18.21 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02951/37.62, allocations: 11.17 MB / 8.851 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/37.62, allocations: 5.469 kB / 8.851 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.009426/37.63, allocations: 3.406 MB / 8.855 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03978/37.67, allocations: 4.731 MB / 8.859 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1064/37.77, allocations: 24.32 MB / 8.883 GB, free: 15.82 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02036/37.79, allocations: 7.168 MB / 8.89 GB, free: 10.2 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.05428/37.85, allocations: 12.01 MB / 8.902 GB, free: 2.977 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01334/37.86, allocations: 3.228 MB / 8.905 GB, free: 0 / 1.026 GB Notification: Performance of SimCode: time 2.876e-06/37.86, allocations: 336 / 8.905 GB, free: 0 / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.529/39.39, allocations: 266.7 MB / 9.166 GB, free: 63 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/39.39, allocations: 183.8 kB / 9.166 GB, free: 62.8 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/52.95, allocations: 0 / 9.166 GB, free: 62.8 MB / 1.026 GB