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.001535/0.001535, allocations: 109.4 kB / 15.69 MB, free: 128 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.001792/0.001792, allocations: 185.5 kB / 16.62 MB, free: 6.613 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.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.619/1.619, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001449/0.00145, allocations: 73.31 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2365, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7073/0.9439, allocations: 214.2 MB / 0.9928 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01181/0.9558, allocations: 6.952 MB / 0.9996 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.9583, allocations: 43.28 kB / 0.9996 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.9611, allocations: 0.781 MB / 1 GB, free: 8.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008017/0.9692, allocations: 2.492 MB / 1.003 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.9725, allocations: 1.18 MB / 1.004 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004382/0.9769, allocations: 2.799 MB / 1.007 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.9787, allocations: 1.097 MB / 1.008 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004803/0.9835, allocations: 1.976 MB / 1.01 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.9857, allocations: 0.9393 MB / 1.011 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.9859, allocations: 118.5 kB / 1.011 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004727/0.9907, allocations: 2.446 MB / 1.013 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004762/0.9911, allocations: 425 kB / 1.014 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009021/0.9921, allocations: 0.688 MB / 1.014 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.9961, allocations: 2.499 MB / 1.017 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9961, allocations: 0 / 1.017 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9961, allocations: 4 kB / 1.017 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.085e-05/0.9961, allocations: 0 / 1.017 GB, free: 15.25 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.004181/1, allocations: 1.842 MB / 1.018 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1, allocations: 7.75 kB / 1.018 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/1.001, allocations: 141.5 kB / 1.019 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/1.003, allocations: 0.5376 MB / 1.019 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/1.005, allocations: 1.006 MB / 1.02 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/1.005, allocations: 65.28 kB / 1.02 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.005, allocations: 84.89 kB / 1.02 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/1.008, allocations: 1.225 MB / 1.021 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/1.008, allocations: 0 / 1.021 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/1.008, allocations: 31.94 kB / 1.021 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/1.008, allocations: 51.48 kB / 1.022 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003364/1.011, allocations: 1.532 MB / 1.023 GB, free: 11.23 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.006028/1.018, allocations: 4.045 MB / 1.027 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/1.02, allocations: 0.9674 MB / 1.028 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/1.021, allocations: 0.6603 MB / 1.029 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/1.022, allocations: 0.6052 MB / 1.029 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.022, allocations: 48.05 kB / 1.029 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.084e-06/1.022, allocations: 0 / 1.029 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.004604/1.027, allocations: 1.79 MB / 1.031 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/1.027, allocations: 58.94 kB / 1.031 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009991/1.028, allocations: 0.8155 MB / 1.032 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-05/1.028, allocations: 44.55 kB / 1.032 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/1.028, allocations: 443.7 kB / 1.032 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/1.029, allocations: 262.7 kB / 1.033 GB, free: 4.453 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002788/1.029, allocations: 152.9 kB / 1.033 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.029, allocations: 340.7 kB / 1.033 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/1.03, allocations: 0.5327 MB / 1.034 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/1.032, allocations: 0.6526 MB / 1.034 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/1.034, allocations: 1.131 MB / 1.035 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.035, allocations: 0 / 1.035 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003293/1.038, allocations: 1.342 MB / 1.037 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/1.038, allocations: 33.7 kB / 1.037 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.038, allocations: 0 / 1.037 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.038, allocations: 4 kB / 1.037 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.039, allocations: 259.7 kB / 1.037 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007419/1.04, allocations: 1.195 MB / 1.038 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/1.041, allocations: 143.3 kB / 1.038 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/1.041, allocations: 38.09 kB / 1.038 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001785/1.043, allocations: 0.7595 MB / 1.039 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001548/1.045, allocations: 0.652 MB / 1.04 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002709/1.048, allocations: 1.12 MB / 1.041 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/1.048, allocations: 4 kB / 1.041 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003373/1.051, allocations: 1.345 MB / 1.042 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/1.051, allocations: 33.7 kB / 1.042 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/1.051, allocations: 0 / 1.042 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/1.051, allocations: 8.062 kB / 1.042 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.052, allocations: 225.1 kB / 1.042 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/1.052, allocations: 4 kB / 1.042 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/1.053, allocations: 139.3 kB / 1.042 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/1.053, allocations: 39.91 kB / 1.042 GB, free: 11.5 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.0003271/1.054, allocations: 220.1 kB / 1.043 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/1.054, allocations: 106.7 kB / 1.043 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/1.057, allocations: 1.342 MB / 1.044 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.058, allocations: 8 kB / 1.044 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.058, allocations: 3.984 kB / 1.044 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.058, allocations: 8 kB / 1.044 GB, free: 9.805 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005641/1.063, allocations: 2.827 MB / 1.047 GB, free: 6.891 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.063, allocations: 11.88 kB / 1.047 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.064, allocations: 224.2 kB / 1.047 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/1.065, allocations: 8 kB / 1.047 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/1.065, allocations: 27.98 kB / 1.047 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000737/1.065, allocations: 1.188 MB / 1.048 GB, free: 5.391 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.065, allocations: 8.188 kB / 1.048 GB, free: 5.383 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/1.069, allocations: 1.451 MB / 1.05 GB, free: 3.871 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/1.069, allocations: 307.5 kB / 1.05 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/1.069, allocations: 23.94 kB / 1.05 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.071, allocations: 103.9 kB / 1.05 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.071, allocations: 56.5 kB / 1.05 GB, free: 3.371 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/1.071, allocations: 43.91 kB / 1.05 GB, free: 3.328 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007661/1.072, allocations: 0.5661 MB / 1.051 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.657e-06/1.072, allocations: 0 / 1.051 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001408/1.073, allocations: 0.5417 MB / 1.051 GB, free: 2.207 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.004198/1.077, allocations: 2.161 MB / 1.053 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005337/1.083, allocations: 2.018 MB / 1.055 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/1.083, allocations: 4 kB / 1.055 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.084, allocations: 0.6598 MB / 1.056 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.087, allocations: 0.4978 MB / 1.056 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/1.104, allocations: 8.677 MB / 1.065 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.105, allocations: 1.094 MB / 1.066 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0024/1.107, allocations: 391.5 kB / 1.066 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000967/1.108, allocations: 395.3 kB / 1.067 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/1.108, allocations: 0 / 1.067 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05751/1.166, allocations: 28.57 MB / 1.095 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/14.05, allocations: 3.875 kB / 1.095 GB, free: 5.855 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)