Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,fileNamePrefix="Buildings_latest_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.001573/0.001573, 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.001936/0.001936, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.528/2.528, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 68.23 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2402, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.00581/0.2461, allocations: 4.916 MB / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.008831/0.255, allocations: 5.623 MB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009227/0.2559, allocations: 31.88 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01505/0.271, allocations: 11.23 MB / 1.074 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.2736, allocations: 1.206 MB / 1.075 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.2765, allocations: 1.517 MB / 1.077 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02003/0.2966, allocations: 15.5 MB / 1.092 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004305/0.297, allocations: 168.4 kB / 1.092 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.2983, allocations: 0.763 MB / 1.093 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.2993, allocations: 0.7506 MB / 1.094 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002773/0.2996, allocations: 80 kB / 1.094 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.302, allocations: 1.486 MB / 1.095 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007963/0.3028, allocations: 0.9154 MB / 1.096 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.304, allocations: 1.068 MB / 1.097 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004025/0.3081, allocations: 3.598 MB / 1.101 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3081, allocations: 0 / 1.101 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3081, allocations: 0 / 1.101 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.296e-05/0.3082, allocations: 0 / 1.101 GB, free: 7.336 MB / 0.8575 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.005164/0.3134, allocations: 2.767 MB / 1.103 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3134, allocations: 8.625 kB / 1.103 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.502e-05/0.3135, allocations: 74.52 kB / 1.103 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/0.3188, allocations: 0.9335 MB / 1.104 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/0.3248, allocations: 4.533 MB / 1.109 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.325, allocations: 44.95 kB / 1.109 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.3251, allocations: 48 kB / 1.109 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.3272, allocations: 0.8997 MB / 1.11 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3273, allocations: 0 / 1.11 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.3273, allocations: 16 kB / 1.11 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3274, allocations: 8 kB / 1.11 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/0.3302, allocations: 0.9394 MB / 1.111 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/0.336, allocations: 3.029 MB / 1.114 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.3389, allocations: 1.03 MB / 1.115 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.3401, allocations: 412.6 kB / 1.115 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.3401, allocations: 7.984 kB / 1.115 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3401, allocations: 42.5 kB / 1.115 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.913e-06/0.3401, allocations: 0 / 1.115 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32): time 0.004115/0.3443, allocations: 1.427 MB / 1.116 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.3443, allocations: 55.41 kB / 1.116 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004704/0.349, allocations: 3.573 MB / 1.12 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.3491, allocations: 41.7 kB / 1.12 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/0.3499, allocations: 0.8338 MB / 1.121 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.35, allocations: 130.4 kB / 1.121 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007292/0.3507, allocations: 0.5755 MB / 1.122 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.3508, allocations: 305.1 kB / 1.122 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/0.3532, allocations: 1.491 MB / 1.123 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/0.3559, allocations: 1.95 MB / 1.125 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/0.3603, allocations: 3.055 MB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.3603, allocations: 4 kB / 1.128 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.005825/0.3662, allocations: 3.769 MB / 1.132 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3662, allocations: 8 kB / 1.132 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.3662, allocations: 15.92 kB / 1.132 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.3663, allocations: 16 kB / 1.132 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.3679, allocations: 435.6 kB / 1.132 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-05/0.3679, allocations: 23.92 kB / 1.132 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.3699, allocations: 317.9 kB / 1.133 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.3701, allocations: 95.95 kB / 1.133 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002888/0.373, allocations: 1.892 MB / 1.135 GB, free: 4 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002524/0.3755, allocations: 1.805 MB / 1.136 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004173/0.3797, allocations: 2.783 MB / 1.139 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.856e-06/0.3797, allocations: 4 kB / 1.139 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.005599/0.3853, allocations: 3.463 MB / 1.142 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3854, allocations: 8 kB / 1.142 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3854, allocations: 12.34 kB / 1.142 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3854, allocations: 16 kB / 1.142 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.387, allocations: 423.4 kB / 1.143 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.191e-05/0.387, allocations: 27.91 kB / 1.143 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.3891, allocations: 278.5 kB / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.3893, allocations: 91.91 kB / 1.143 GB, free: 10.84 MB / 0.9044 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.0003303/0.3896, allocations: 251.8 kB / 1.143 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/0.3901, allocations: 220.9 kB / 1.144 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/0.3932, allocations: 1.081 MB / 1.145 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.3932, allocations: 3.984 kB / 1.145 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3932, allocations: 4 kB / 1.145 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3932, allocations: 11.92 kB / 1.145 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.3951, allocations: 1.312 MB / 1.146 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3951, allocations: 0 / 1.146 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/0.396, allocations: 151.8 kB / 1.146 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.396, allocations: 8 kB / 1.146 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.396, allocations: 11.98 kB / 1.146 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.396, allocations: 4 kB / 1.146 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.396, allocations: 0 / 1.146 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.3989, allocations: 1.162 MB / 1.147 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000851/0.3998, allocations: 449.7 kB / 1.148 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004597/0.4002, allocations: 8 kB / 1.148 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.4015, allocations: 107.9 kB / 1.148 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.4016, allocations: 31.91 kB / 1.148 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.4016, allocations: 19.98 kB / 1.148 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003383/0.405, allocations: 2.4 MB / 1.15 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.405, allocations: 0 / 1.15 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003021/0.4081, allocations: 1.019 MB / 1.151 GB, free: 2.477 MB / 0.9044 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.00437/0.4125, allocations: 2.106 MB / 1.153 GB, free: 352 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007245/0.4197, allocations: 4.092 MB / 1.157 GB, free: 12.26 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4197, allocations: 0 / 1.157 GB, free: 12.26 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.421, allocations: 436.2 kB / 1.158 GB, free: 11.83 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/0.4248, allocations: 0.9315 MB / 1.159 GB, free: 10.92 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05489/0.4797, allocations: 27.12 MB / 1.185 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.4812, allocations: 1.65 MB / 1.187 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002877/0.4841, allocations: 0.7422 MB / 1.187 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/0.4856, allocations: 0.9171 MB / 1.188 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of SimCode: time 7.31e-07/0.4856, allocations: 0 / 1.188 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.01/2.496, allocations: 66.96 MB / 1.254 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/16.87, allocations: 7.516 kB / 1.254 GB, free: 183.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1)