Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.239/2.239, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.00155/0.001549, allocations: 178.3 kB / 315.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.373/2.373, 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.001115/0.001115, allocations: 95.56 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.858e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2142, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.331/7.545, allocations: 2.208 GB / 3.092 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/7.545, allocations: 89.06 kB / 3.092 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.277/12.82, allocations: 0.9576 GB / 4.049 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.605e-06/12.82, allocations: 0 / 4.049 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001417/12.82, allocations: 28.97 kB / 4.05 GB, free: 147.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008793/12.83, allocations: 1.738 MB / 4.051 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/12.83, allocations: 11.8 kB / 4.051 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/12.84, allocations: 0.5443 MB / 4.052 GB, free: 146.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/12.84, allocations: 1.049 MB / 4.053 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001223/12.84, allocations: 165.1 kB / 4.053 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005828/12.84, allocations: 57.78 kB / 4.053 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003472/12.85, allocations: 1.035 MB / 4.054 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/12.85, allocations: 1.019 MB / 4.055 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/12.85, allocations: 0 / 4.055 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/12.85, allocations: 0 / 4.055 GB, free: 146.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-05/12.85, allocations: 42.75 kB / 4.055 GB, free: 146.2 MB / 0.8855 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.01172/12.86, allocations: 4.012 MB / 4.059 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/12.86, allocations: 0.7265 MB / 4.06 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/12.87, allocations: 0.493 MB / 4.06 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/12.87, allocations: 0.6096 MB / 4.061 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/12.87, allocations: 44.59 kB / 4.061 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.587e-06/12.87, allocations: 3.938 kB / 4.061 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.004101/12.87, allocations: 1.134 MB / 4.062 GB, free: 144 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/12.87, allocations: 59.25 kB / 4.062 GB, free: 143.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/12.87, allocations: 0.5548 MB / 4.062 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001858/12.87, allocations: 33.14 kB / 4.063 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/12.87, allocations: 449.9 kB / 4.063 GB, free: 143.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/12.87, allocations: 253.4 kB / 4.063 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/12.87, allocations: 3.875 kB / 4.063 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/12.87, allocations: 338.5 kB / 4.064 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009567/12.87, allocations: 385.9 kB / 4.064 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/12.88, allocations: 0.5253 MB / 4.064 GB, free: 143 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/12.88, allocations: 0.5831 MB / 4.065 GB, free: 143 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/12.88, allocations: 3.531 kB / 4.065 GB, free: 143 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003592/12.88, allocations: 1.171 MB / 4.066 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/12.88, allocations: 490.4 kB / 4.067 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/12.88, allocations: 0 / 4.067 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/12.88, allocations: 7.75 kB / 4.067 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/12.88, allocations: 285 kB / 4.067 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007866/12.89, allocations: 1.204 MB / 4.068 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/12.89, allocations: 172 kB / 4.068 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/12.89, allocations: 42.06 kB / 4.068 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/12.89, allocations: 3.531 kB / 4.068 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003374/12.89, allocations: 1.055 MB / 4.069 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/12.89, allocations: 2.438 kB / 4.069 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/12.89, allocations: 3.688 kB / 4.069 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/12.89, allocations: 264.7 kB / 4.07 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/12.89, allocations: 7.172 kB / 4.07 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002386/12.9, allocations: 176.5 kB / 4.07 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/12.9, allocations: 39.66 kB / 4.07 GB, free: 141.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003762/12.9, allocations: 125.5 kB / 4.07 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003353/12.9, allocations: 1.081 MB / 4.071 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/12.9, allocations: 93.66 kB / 4.071 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/12.9, allocations: 1.199 MB / 4.072 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/12.9, allocations: 9.312 kB / 4.072 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/12.9, allocations: 0 / 4.072 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/12.9, allocations: 3.844 kB / 4.072 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006974/12.91, allocations: 2.58 MB / 4.075 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/12.91, allocations: 3.719 kB / 4.075 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/12.91, allocations: 254.2 kB / 4.075 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/12.91, allocations: 7.812 kB / 4.075 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/12.91, allocations: 21.52 kB / 4.075 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005632/12.91, allocations: 1.195 MB / 4.076 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/12.91, allocations: 6.938 kB / 4.076 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/12.92, allocations: 1.478 MB / 4.078 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/12.92, allocations: 316.5 kB / 4.078 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/12.92, allocations: 9.703 kB / 4.078 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/12.92, allocations: 151 kB / 4.078 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/12.92, allocations: 59.66 kB / 4.078 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/12.92, allocations: 41.44 kB / 4.078 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008497/12.92, allocations: 447.4 kB / 4.079 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/12.92, allocations: 0 / 4.079 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002885/12.93, allocations: 0.6835 MB / 4.079 GB, free: 138.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008368/12.93, allocations: 5.577 MB / 4.085 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004603/12.94, allocations: 1.61 MB / 4.086 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/12.94, allocations: 6.469 kB / 4.086 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/12.94, allocations: 0.5166 MB / 4.087 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/12.95, allocations: 427.3 kB / 4.087 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/12.97, allocations: 2.509 MB / 4.09 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/12.97, allocations: 1.121 MB / 4.091 GB, free: 134 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003477/12.98, allocations: 443.3 kB / 4.091 GB, free: 134 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009871/12.98, allocations: 376.3 kB / 4.092 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.993e-06/12.98, allocations: 0 / 4.092 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/13.11, allocations: 43.53 MB / 4.134 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/13.11, allocations: 210.1 kB / 4.134 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.53/17.64, allocations: 0 / 4.134 GB, free: 106.5 MB / 0.8855 GB