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.001218/0.001218, 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.001362/0.001362, allocations: 196.6 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.428/2.428, allocations: 437.1 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/0.5234, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006034/0.5295, allocations: 4.902 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009022/0.5385, allocations: 5.629 MB / 1.028 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009863/0.5395, allocations: 27.88 kB / 1.028 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0158/0.5554, allocations: 11.23 MB / 1.039 GB, free: 12.64 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.5581, allocations: 1.206 MB / 1.04 GB, free: 11.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002929/0.561, allocations: 1.508 MB / 1.041 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02011/0.5811, allocations: 15.52 MB / 1.056 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.5815, allocations: 160.4 kB / 1.057 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.5828, allocations: 0.7708 MB / 1.057 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.5839, allocations: 0.7467 MB / 1.058 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.5842, allocations: 80 kB / 1.058 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.5866, allocations: 1.489 MB / 1.06 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008801/0.5875, allocations: 0.9115 MB / 1.061 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.5886, allocations: 1.068 MB / 1.062 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003531/0.5921, allocations: 3.602 MB / 1.065 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5921, allocations: 0 / 1.065 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5921, allocations: 0 / 1.065 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.5921, allocations: 0 / 1.065 GB, free: 1.531 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.003886/0.596, allocations: 2.763 MB / 1.068 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5961, allocations: 12.03 kB / 1.068 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.983e-05/0.5962, allocations: 66.53 kB / 1.068 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005191/0.6014, allocations: 0.9452 MB / 1.069 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005677/0.6071, allocations: 4.509 MB / 1.073 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.6072, allocations: 48.95 kB / 1.073 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.6073, allocations: 51.98 kB / 1.073 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/0.6093, allocations: 0.8997 MB / 1.074 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.6093, allocations: 0 / 1.074 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.6094, allocations: 8 kB / 1.074 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.6094, allocations: 8 kB / 1.074 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.6123, allocations: 0.9471 MB / 1.075 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005154/0.6175, allocations: 3.025 MB / 1.078 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002943/0.6204, allocations: 1.034 MB / 1.079 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.6216, allocations: 404.6 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.6216, allocations: 15.97 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.6216, allocations: 34.56 kB / 1.08 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.6216, allocations: 0 / 1.08 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.004048/0.6257, allocations: 1.435 MB / 1.081 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.6257, allocations: 55.41 kB / 1.081 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/0.6297, allocations: 3.569 MB / 1.084 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.319e-05/0.6298, allocations: 37.7 kB / 1.085 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006538/0.6304, allocations: 0.8336 MB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.6306, allocations: 130.4 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006578/0.6312, allocations: 0.5795 MB / 1.086 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/0.6313, allocations: 301.1 kB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/0.6336, allocations: 1.483 MB / 1.088 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.6363, allocations: 1.946 MB / 1.09 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004404/0.6407, allocations: 3.075 MB / 1.093 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.6407, allocations: 0 / 1.093 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.005827/0.6466, allocations: 3.772 MB / 1.096 GB, free: 1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6466, allocations: 9.562 kB / 1.096 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.6466, allocations: 8 kB / 1.096 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.6466, allocations: 20 kB / 1.096 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.6483, allocations: 439.5 kB / 1.097 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-05/0.6483, allocations: 19.94 kB / 1.097 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.6502, allocations: 325.6 kB / 1.097 GB, free: 200 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.6503, allocations: 99.95 kB / 1.097 GB, free: 100 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002886/0.6532, allocations: 1.898 MB / 1.099 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00245/0.6557, allocations: 1.793 MB / 1.101 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004317/0.66, allocations: 2.78 MB / 1.104 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.66, allocations: 0 / 1.104 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.005552/0.6656, allocations: 3.475 MB / 1.107 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6656, allocations: 8 kB / 1.107 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.6656, allocations: 8 kB / 1.107 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6657, allocations: 16 kB / 1.107 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.6672, allocations: 435.6 kB / 1.107 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.6673, allocations: 20.09 kB / 1.107 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.6692, allocations: 262.5 kB / 1.108 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.6693, allocations: 103.9 kB / 1.108 GB, free: 5.043 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.0003104/0.6696, allocations: 259.8 kB / 1.108 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.6699, allocations: 220.9 kB / 1.108 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/0.6729, allocations: 1.081 MB / 1.109 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6729, allocations: 4 kB / 1.109 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6729, allocations: 0 / 1.109 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.6729, allocations: 7.922 kB / 1.109 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.6744, allocations: 1.3 MB / 1.111 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6744, allocations: 0 / 1.111 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.6752, allocations: 151.8 kB / 1.111 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.6752, allocations: 0 / 1.111 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.6753, allocations: 19.98 kB / 1.111 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6753, allocations: 0 / 1.111 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6753, allocations: 0 / 1.111 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.678, allocations: 1.174 MB / 1.112 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005825/0.6786, allocations: 441.8 kB / 1.112 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.6788, allocations: 4 kB / 1.112 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.6799, allocations: 119.9 kB / 1.112 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.68, allocations: 27.91 kB / 1.112 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.68, allocations: 19.98 kB / 1.112 GB, free: 120 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002758/0.6828, allocations: 2.396 MB / 1.115 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6828, allocations: 0 / 1.115 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002374/0.6852, allocations: 1.019 MB / 1.116 GB, free: 12.7 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.00391/0.6891, allocations: 2.114 MB / 1.118 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006741/0.6959, allocations: 4.099 MB / 1.122 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6959, allocations: 1.75 kB / 1.122 GB, free: 6.465 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6971, allocations: 427.7 kB / 1.122 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/0.7002, allocations: 0.9346 MB / 1.123 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05156/0.7518, allocations: 27.11 MB / 1.15 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.753, allocations: 1.658 MB / 1.151 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002659/0.7557, allocations: 0.75 MB / 1.152 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/0.7569, allocations: 0.9093 MB / 1.153 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of SimCode: time 6.61e-07/0.7569, allocations: 0 / 1.153 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.474/5.231, allocations: 66.97 MB / 1.218 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/16.51, allocations: 15.42 kB / 1.218 GB, free: 3.191 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1)