Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 222.4 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 71.81 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2362, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7508/0.987, allocations: 214.2 MB / 0.9927 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01306/1, allocations: 6.948 MB / 0.9995 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/1.003, allocations: 40.84 kB / 0.9995 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002695/1.006, allocations: 0.7819 MB / 1 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008919/1.015, allocations: 2.495 MB / 1.003 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003669/1.018, allocations: 1.159 MB / 1.004 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00483/1.023, allocations: 2.783 MB / 1.007 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/1.025, allocations: 1.099 MB / 1.008 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006028/1.031, allocations: 1.98 MB / 1.01 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/1.034, allocations: 0.9431 MB / 1.01 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002471/1.034, allocations: 118.5 kB / 1.011 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006248/1.041, allocations: 2.441 MB / 1.013 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005466/1.041, allocations: 429.1 kB / 1.013 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/1.042, allocations: 0.6884 MB / 1.014 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004951/1.047, allocations: 2.465 MB / 1.016 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.047, allocations: 4 kB / 1.016 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.426e-06/1.047, allocations: 3.984 kB / 1.016 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.927e-05/1.047, allocations: 0 / 1.016 GB, free: 15.19 MB / 0.7481 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.004575/1.052, allocations: 1.85 MB / 1.018 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.052, allocations: 10.56 kB / 1.018 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/1.052, allocations: 126.4 kB / 1.018 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003093/1.055, allocations: 0.5439 MB / 1.019 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/1.057, allocations: 0.9539 MB / 1.02 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006256/1.058, allocations: 187 kB / 1.02 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/1.058, allocations: 79.72 kB / 1.02 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/1.06, allocations: 1.238 MB / 1.021 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/1.06, allocations: 2.875 kB / 1.021 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.061, allocations: 32.86 kB / 1.021 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/1.061, allocations: 47.08 kB / 1.021 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/1.064, allocations: 1.545 MB / 1.023 GB, free: 11.15 MB / 0.7481 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.006364/1.071, allocations: 4.082 MB / 1.027 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/1.073, allocations: 1.004 MB / 1.028 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/1.075, allocations: 0.6614 MB / 1.029 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.076, allocations: 0.6137 MB / 1.029 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/1.076, allocations: 41.44 kB / 1.029 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.845e-06/1.076, allocations: 2.406 kB / 1.029 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.004837/1.081, allocations: 1.813 MB / 1.031 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/1.081, allocations: 59.84 kB / 1.031 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/1.082, allocations: 0.82 MB / 1.032 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-05/1.082, allocations: 43.58 kB / 1.032 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/1.082, allocations: 439.7 kB / 1.032 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/1.082, allocations: 266.8 kB / 1.033 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/1.083, allocations: 156.8 kB / 1.033 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.083, allocations: 335.8 kB / 1.033 GB, free: 3.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/1.084, allocations: 0.5431 MB / 1.034 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/1.086, allocations: 0.6637 MB / 1.034 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/1.089, allocations: 1.146 MB / 1.035 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.089, allocations: 3.938 kB / 1.035 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003508/1.092, allocations: 1.365 MB / 1.037 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/1.092, allocations: 33.7 kB / 1.037 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.092, allocations: 0 / 1.037 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/1.092, allocations: 8 kB / 1.037 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.094, allocations: 263.7 kB / 1.037 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007711/1.095, allocations: 1.195 MB / 1.038 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.096, allocations: 151.4 kB / 1.038 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/1.096, allocations: 39.97 kB / 1.038 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001854/1.098, allocations: 0.7595 MB / 1.039 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001515/1.099, allocations: 0.6598 MB / 1.04 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002825/1.102, allocations: 1.143 MB / 1.041 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/1.102, allocations: 0 / 1.041 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.00349/1.106, allocations: 1.36 MB / 1.042 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/1.106, allocations: 33.7 kB / 1.042 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.106, allocations: 3.938 kB / 1.042 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/1.106, allocations: 4 kB / 1.042 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/1.107, allocations: 235.7 kB / 1.042 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.107, allocations: 4 kB / 1.042 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/1.108, allocations: 135.3 kB / 1.042 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/1.108, allocations: 35.98 kB / 1.043 GB, free: 11.11 MB / 0.7637 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.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000302/1.109, allocations: 232 kB / 1.043 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/1.109, allocations: 102.9 kB / 1.043 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/1.112, allocations: 1.367 MB / 1.044 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.112, allocations: 8 kB / 1.044 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/1.112, allocations: 0 / 1.044 GB, free: 9.391 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.112, allocations: 7.984 kB / 1.044 GB, free: 9.383 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00577/1.118, allocations: 2.854 MB / 1.047 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.118, allocations: 8 kB / 1.047 GB, free: 6.434 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001268/1.119, allocations: 228.2 kB / 1.047 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.119, allocations: 11.94 kB / 1.047 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/1.12, allocations: 19.98 kB / 1.047 GB, free: 6.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007694/1.12, allocations: 1.199 MB / 1.048 GB, free: 4.934 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.558e-05/1.12, allocations: 7.938 kB / 1.048 GB, free: 4.926 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/1.124, allocations: 1.475 MB / 1.05 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007372/1.125, allocations: 307.5 kB / 1.05 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/1.125, allocations: 19.94 kB / 1.05 GB, free: 3.051 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.126, allocations: 111.9 kB / 1.05 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.126, allocations: 60.38 kB / 1.05 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.8e-05/1.126, allocations: 35.97 kB / 1.05 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008365/1.127, allocations: 0.57 MB / 1.051 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.127, allocations: 0 / 1.051 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001749/1.129, allocations: 0.5341 MB / 1.051 GB, free: 1.73 MB / 0.7637 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 () * Number of clocked 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004458/1.133, allocations: 2.169 MB / 1.054 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006051/1.139, allocations: 2.143 MB / 1.056 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.139, allocations: 0 / 1.056 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/1.141, allocations: 0.6714 MB / 1.056 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/1.144, allocations: 0.5021 MB / 1.057 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/1.162, allocations: 9.084 MB / 1.066 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007531/1.162, allocations: 1.091 MB / 1.067 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001714/1.164, allocations: 399.4 kB / 1.067 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006482/1.165, allocations: 391.3 kB / 1.067 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of SimCode: time 1.132e-06/1.165, allocations: 0 / 1.067 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06248/1.227, allocations: 28.54 MB / 1.095 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/13.26, allocations: 14.05 kB / 1.095 GB, free: 4.734 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness_res.csv --start-time 0 --stop-time 360 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)