Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Movers.BaseClasses.Validation.TotalEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",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.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 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.001365/0.001365, allocations: 195.9 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 0.8693 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7186/0.7201, allocations: 151.6 MB / 1.017 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006655/0.7268, allocations: 4.915 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.7369, allocations: 5.621 MB / 1.028 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.7382, allocations: 27.88 kB / 1.028 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01781/0.7561, allocations: 11.22 MB / 1.039 GB, free: 12.58 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.7594, allocations: 1.207 MB / 1.04 GB, free: 11.37 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.7629, allocations: 1.512 MB / 1.041 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02247/0.7854, allocations: 15.51 MB / 1.056 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/0.7859, allocations: 172.3 kB / 1.057 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001503/0.7874, allocations: 0.7709 MB / 1.057 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009511/0.7883, allocations: 0.7506 MB / 1.058 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.7885, allocations: 83.94 kB / 1.058 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.7913, allocations: 1.482 MB / 1.06 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008174/0.7921, allocations: 0.9115 MB / 1.061 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009703/0.7931, allocations: 1.064 MB / 1.062 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.7971, allocations: 3.602 MB / 1.065 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.7971, allocations: 4 kB / 1.065 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7971, allocations: 0 / 1.065 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.164e-05/0.7972, allocations: 4 kB / 1.065 GB, free: 1.461 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004349/0.8015, allocations: 2.761 MB / 1.068 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.8016, allocations: 8.031 kB / 1.068 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.22e-05/0.8017, allocations: 70.53 kB / 1.068 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005281/0.807, allocations: 0.9413 MB / 1.069 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006134/0.8131, allocations: 4.517 MB / 1.073 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.8133, allocations: 56.94 kB / 1.073 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.8134, allocations: 44 kB / 1.073 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.8155, allocations: 0.8958 MB / 1.074 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.8155, allocations: 8 kB / 1.074 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.8156, allocations: 8 kB / 1.074 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.8156, allocations: 8 kB / 1.074 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/0.8185, allocations: 0.9433 MB / 1.075 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005947/0.8245, allocations: 3.025 MB / 1.078 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.8276, allocations: 1.03 MB / 1.079 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.8288, allocations: 408.6 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.8288, allocations: 7.984 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.8289, allocations: 38.56 kB / 1.08 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 4.147e-06/0.8289, allocations: 0 / 1.08 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.004608/0.8335, allocations: 1.435 MB / 1.081 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.8336, allocations: 55.41 kB / 1.081 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005405/0.839, allocations: 3.573 MB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.8392, allocations: 37.7 kB / 1.085 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009101/0.8401, allocations: 0.8336 MB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.8403, allocations: 130.4 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008083/0.8411, allocations: 0.5756 MB / 1.086 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8412, allocations: 301.1 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/0.8437, allocations: 1.487 MB / 1.088 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/0.8465, allocations: 1.942 MB / 1.09 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004874/0.8514, allocations: 3.067 MB / 1.093 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.8515, allocations: 7.938 kB / 1.093 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.006852/0.8583, allocations: 3.768 MB / 1.096 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.8584, allocations: 8 kB / 1.096 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.8584, allocations: 8 kB / 1.096 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.615e-05/0.8585, allocations: 16 kB / 1.096 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.8601, allocations: 447.5 kB / 1.097 GB, free: 480 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/0.8602, allocations: 19.94 kB / 1.097 GB, free: 460 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.8627, allocations: 325.6 kB / 1.097 GB, free: 132 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.8629, allocations: 99.95 kB / 1.097 GB, free: 32 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003229/0.8661, allocations: 1.895 MB / 1.099 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00267/0.8688, allocations: 1.797 MB / 1.101 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004364/0.8732, allocations: 2.779 MB / 1.104 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.784e-06/0.8732, allocations: 4 kB / 1.104 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.006082/0.8793, allocations: 3.475 MB / 1.107 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.8793, allocations: 8 kB / 1.107 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.8793, allocations: 8 kB / 1.107 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.8794, allocations: 16 kB / 1.107 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.8809, allocations: 431.5 kB / 1.107 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/0.881, allocations: 19.94 kB / 1.107 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.8833, allocations: 266.5 kB / 1.108 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.8834, allocations: 103.9 kB / 1.108 GB, free: 4.973 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (210): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003802/0.8838, allocations: 251.8 kB / 1.108 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.8842, allocations: 216.9 kB / 1.108 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.8872, allocations: 1.085 MB / 1.109 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.8872, allocations: 4 kB / 1.109 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.8873, allocations: 0 / 1.109 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.8873, allocations: 11.86 kB / 1.109 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.8889, allocations: 1.304 MB / 1.111 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.889, allocations: 7.984 kB / 1.111 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008555/0.8898, allocations: 143.9 kB / 1.111 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.8898, allocations: 0 / 1.111 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.8899, allocations: 27.86 kB / 1.111 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8899, allocations: 0 / 1.111 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8899, allocations: 0 / 1.111 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.8928, allocations: 1.167 MB / 1.112 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006955/0.8935, allocations: 445.8 kB / 1.112 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.8938, allocations: 4 kB / 1.112 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.8949, allocations: 115.9 kB / 1.112 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.895, allocations: 23.91 kB / 1.112 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.895, allocations: 19.98 kB / 1.112 GB, free: 52 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00317/0.8982, allocations: 2.4 MB / 1.115 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8982, allocations: 0 / 1.115 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00316/0.9014, allocations: 1.019 MB / 1.116 GB, free: 12.63 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004401/0.9058, allocations: 2.113 MB / 1.118 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007866/0.9137, allocations: 4.091 MB / 1.122 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.9138, allocations: 0 / 1.122 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.9151, allocations: 432.9 kB / 1.122 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/0.919, allocations: 0.9358 MB / 1.123 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06123/0.9803, allocations: 27.12 MB / 1.15 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.9816, allocations: 1.646 MB / 1.151 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.003191/0.9848, allocations: 0.7578 MB / 1.152 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/0.9863, allocations: 0.9106 MB / 1.153 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of SimCode: time 9.62e-07/0.9863, allocations: 4 kB / 1.153 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.105, allocations: 66.95 MB / 1.218 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.398/10.5, allocations: 17.8 kB / 1.218 GB, free: 3.137 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1)