Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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: translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001565, allocations: 113.6 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 183 kB / 17.34 MB, free: 5.738 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002209/0.00221, allocations: 286.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9659/0.9659, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 104.1 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4493, allocations: 86.97 MB / 0.7671 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.00609/0.4555, allocations: 4.879 MB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009358/0.4649, allocations: 5.623 MB / 0.7773 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.466, allocations: 27.88 kB / 0.7773 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.4693, allocations: 1.276 MB / 0.7786 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.472, allocations: 1.288 MB / 0.7798 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.4751, allocations: 1.542 MB / 0.7813 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01942/0.4945, allocations: 14.67 MB / 0.7957 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.495, allocations: 164.4 kB / 0.7958 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.4965, allocations: 0.8176 MB / 0.7966 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009899/0.4975, allocations: 0.7896 MB / 0.7974 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.4977, allocations: 92 kB / 0.7975 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.4994, allocations: 0.8969 MB / 0.7984 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007296/0.5001, allocations: 0.9115 MB / 0.7993 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008874/0.501, allocations: 1.037 MB / 0.8003 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.5043, allocations: 3.021 MB / 0.8032 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5043, allocations: 0 / 0.8032 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5043, allocations: 0 / 0.8032 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.035e-05/0.5044, allocations: 0 / 0.8032 GB, free: 14.71 MB / 0.5762 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.004188/0.5086, allocations: 2.676 MB / 0.8058 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5086, allocations: 8.031 kB / 0.8058 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.5116, allocations: 0.598 MB / 0.8064 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/0.5161, allocations: 2.946 MB / 0.8093 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.5162, allocations: 40.59 kB / 0.8093 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5163, allocations: 51.94 kB / 0.8094 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.5179, allocations: 0.6773 MB / 0.81 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.518, allocations: 3.984 kB / 0.81 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.518, allocations: 12 kB / 0.8101 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.5181, allocations: 8 kB / 0.8101 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.5201, allocations: 0.6388 MB / 0.8107 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005048/0.5251, allocations: 2.759 MB / 0.8134 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.5273, allocations: 0.7568 MB / 0.8141 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009677/0.5283, allocations: 316.7 kB / 0.8144 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.5284, allocations: 15.97 kB / 0.8144 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.5284, allocations: 34.56 kB / 0.8145 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.5284, allocations: 0 / 0.8145 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.003737/0.5321, allocations: 1.183 MB / 0.8156 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.5322, allocations: 59.39 kB / 0.8157 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004443/0.5367, allocations: 3.206 MB / 0.8188 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002368/0.5369, allocations: 37.7 kB / 0.8189 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007453/0.5377, allocations: 0.7985 MB / 0.8196 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.5379, allocations: 146.2 kB / 0.8198 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000726/0.5386, allocations: 0.5831 MB / 0.8203 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.5387, allocations: 305.1 kB / 0.8206 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.5408, allocations: 1.248 MB / 0.8219 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.5433, allocations: 1.727 MB / 0.8235 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/0.5473, allocations: 2.62 MB / 0.8261 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.5473, allocations: 0 / 0.8261 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005566/0.5529, allocations: 3.311 MB / 0.8293 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.553, allocations: 12 kB / 0.8293 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.553, allocations: 12 kB / 0.8294 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/0.553, allocations: 16 kB / 0.8294 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.5546, allocations: 411.4 kB / 0.8298 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.5546, allocations: 19.94 kB / 0.8298 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.5568, allocations: 319.1 kB / 0.8301 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.557, allocations: 104 kB / 0.8302 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00293/0.56, allocations: 1.736 MB / 0.8319 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002409/0.5624, allocations: 1.648 MB / 0.8335 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003795/0.5662, allocations: 2.456 MB / 0.8359 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.787e-06/0.5662, allocations: 4 kB / 0.8359 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005543/0.5718, allocations: 3.127 MB / 0.8389 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.5718, allocations: 12 kB / 0.839 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.5719, allocations: 15.94 kB / 0.839 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.5719, allocations: 19.98 kB / 0.839 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.5734, allocations: 395.5 kB / 0.8394 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-05/0.5734, allocations: 19.94 kB / 0.8394 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.5757, allocations: 279 kB / 0.8397 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.5759, allocations: 99.88 kB / 0.8397 GB, free: 8.434 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (209): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0004124/0.5763, allocations: 263.6 kB / 0.84 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.5767, allocations: 221 kB / 0.8402 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.5795, allocations: 0.9115 MB / 0.8411 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.5795, allocations: 4 kB / 0.8411 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.5795, allocations: 4 kB / 0.8411 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5795, allocations: 3.984 kB / 0.8411 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.5814, allocations: 1.28 MB / 0.8424 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5814, allocations: 0 / 0.8424 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/0.5822, allocations: 131.8 kB / 0.8425 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5822, allocations: 4 kB / 0.8425 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.5823, allocations: 15.98 kB / 0.8425 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5823, allocations: 3.938 kB / 0.8425 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.5823, allocations: 3.984 kB / 0.8425 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.5848, allocations: 0.9923 MB / 0.8435 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007706/0.5855, allocations: 413.8 kB / 0.8439 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.5858, allocations: 4 kB / 0.8439 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.587, allocations: 111.8 kB / 0.844 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.5871, allocations: 31.84 kB / 0.844 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.5871, allocations: 27.98 kB / 0.844 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003316/0.5905, allocations: 2.117 MB / 0.8461 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5905, allocations: 0 / 0.8461 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002738/0.5932, allocations: 0.9178 MB / 0.847 GB, free: 0.8828 MB / 0.6075 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 (39): * Single equations (assignments): 39 * 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.0009505/0.5942, allocations: 411.7 kB / 0.8474 GB, free: 484 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006565/0.6008, allocations: 3.544 MB / 0.8509 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6008, allocations: 0 / 0.8509 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.6019, allocations: 347.9 kB / 0.8512 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003799/0.6057, allocations: 0.9291 MB / 0.8521 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.6193, allocations: 4.76 MB / 0.8568 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.6206, allocations: 1.63 MB / 0.8583 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/0.6214, allocations: 171.4 kB / 0.8585 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.6214, allocations: 0 / 0.8585 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of Templates: time 0.04902/0.6705, allocations: 35.25 MB / 0.8929 GB, free: 2.102 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)