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.001191/0.001191, allocations: 105.7 kB / 16.41 MB, free: 6.496 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.001195/0.001195, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.344/1.344, 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.002161/0.002161, allocations: 279.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9773/0.9773, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00292/0.00292, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4776, allocations: 86.99 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.007043/0.4847, allocations: 4.875 MB / 0.7718 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.4951, allocations: 5.624 MB / 0.7773 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.4964, allocations: 27.88 kB / 0.7773 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003729/0.5002, allocations: 1.283 MB / 0.7786 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.5032, allocations: 1.31 MB / 0.7799 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003479/0.5067, allocations: 1.543 MB / 0.7814 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02094/0.5277, allocations: 14.67 MB / 0.7957 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000477/0.5282, allocations: 168.4 kB / 0.7959 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.5297, allocations: 0.8098 MB / 0.7966 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.5311, allocations: 0.7974 MB / 0.7974 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000382/0.5315, allocations: 92 kB / 0.7975 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.5335, allocations: 0.893 MB / 0.7984 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.5347, allocations: 0.9193 MB / 0.7993 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002437/0.5371, allocations: 1.029 MB / 0.8003 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.5419, allocations: 3.017 MB / 0.8032 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5419, allocations: 0 / 0.8032 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.521e-06/0.5419, allocations: 0 / 0.8032 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.324e-05/0.542, allocations: 3.938 kB / 0.8032 GB, free: 14.78 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.005852/0.5479, allocations: 2.669 MB / 0.8058 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.5479, allocations: 12.03 kB / 0.8059 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/0.5511, allocations: 0.598 MB / 0.8064 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004959/0.5561, allocations: 2.946 MB / 0.8093 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.5561, allocations: 48.53 kB / 0.8094 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5562, allocations: 44 kB / 0.8094 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.5579, allocations: 0.6812 MB / 0.8101 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.558, allocations: 4 kB / 0.8101 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.763e-05/0.558, allocations: 8 kB / 0.8101 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.558, allocations: 8 kB / 0.8101 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.5601, allocations: 0.6427 MB / 0.8107 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004951/0.5651, allocations: 2.759 MB / 0.8134 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.5677, allocations: 0.7612 MB / 0.8142 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.5692, allocations: 324.6 kB / 0.8145 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.108e-05/0.5693, allocations: 11.97 kB / 0.8145 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.5693, allocations: 34.56 kB / 0.8145 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.325e-06/0.5693, allocations: 0 / 0.8145 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.004215/0.5735, allocations: 1.179 MB / 0.8157 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.5736, allocations: 55.41 kB / 0.8157 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006218/0.5798, allocations: 3.206 MB / 0.8188 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002649/0.5801, allocations: 41.7 kB / 0.8189 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.5816, allocations: 0.8024 MB / 0.8197 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.5819, allocations: 142.2 kB / 0.8198 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/0.5834, allocations: 0.5754 MB / 0.8204 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5836, allocations: 305.1 kB / 0.8207 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002497/0.5861, allocations: 1.256 MB / 0.8219 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.5889, allocations: 1.723 MB / 0.8236 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004339/0.5933, allocations: 2.62 MB / 0.8261 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/0.5933, allocations: 4 kB / 0.8261 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005975/0.5993, allocations: 3.303 MB / 0.8294 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.5994, allocations: 16.19 kB / 0.8294 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.5994, allocations: 8 kB / 0.8294 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.803e-05/0.5994, allocations: 16 kB / 0.8294 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.601, allocations: 415.4 kB / 0.8298 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-05/0.6011, allocations: 23.88 kB / 0.8298 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.6034, allocations: 315.1 kB / 0.8301 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.6036, allocations: 104 kB / 0.8302 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002937/0.6066, allocations: 1.733 MB / 0.8319 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002395/0.609, allocations: 1.651 MB / 0.8335 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003888/0.6129, allocations: 2.456 MB / 0.8359 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/0.6129, allocations: 4 kB / 0.8359 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005431/0.6184, allocations: 3.127 MB / 0.839 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6184, allocations: 16.03 kB / 0.839 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.6184, allocations: 8.188 kB / 0.839 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.6185, allocations: 16 kB / 0.839 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.6201, allocations: 411.3 kB / 0.8394 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.679e-05/0.6202, allocations: 27.86 kB / 0.8394 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.623, allocations: 275 kB / 0.8397 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.6232, allocations: 87.97 kB / 0.8398 GB, free: 8.5 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.0004367/0.6237, allocations: 267.7 kB / 0.84 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005685/0.6243, allocations: 217 kB / 0.8402 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.6271, allocations: 0.9153 MB / 0.8411 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6271, allocations: 4 kB / 0.8411 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6272, allocations: 4 kB / 0.8411 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.6272, allocations: 0 / 0.8411 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.6295, allocations: 1.276 MB / 0.8424 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.6296, allocations: 0 / 0.8424 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007802/0.6303, allocations: 135.8 kB / 0.8425 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.6304, allocations: 4 kB / 0.8425 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.259e-05/0.6304, allocations: 11.98 kB / 0.8425 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.6304, allocations: 4 kB / 0.8425 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6304, allocations: 0 / 0.8425 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.6331, allocations: 1 MB / 0.8435 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008739/0.634, allocations: 405.8 kB / 0.8439 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005145/0.6345, allocations: 11.98 kB / 0.8439 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.636, allocations: 103.9 kB / 0.844 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.6361, allocations: 31.91 kB / 0.844 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/0.6361, allocations: 23.98 kB / 0.8441 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003804/0.64, allocations: 2.117 MB / 0.8461 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.61e-07/0.64, allocations: 0 / 0.8461 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002861/0.6428, allocations: 0.9256 MB / 0.847 GB, free: 0.9531 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.001105/0.644, allocations: 415.6 kB / 0.8474 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006698/0.6507, allocations: 3.548 MB / 0.8509 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6507, allocations: 0 / 0.8509 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.6518, allocations: 347.8 kB / 0.8512 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/0.6561, allocations: 0.94 MB / 0.8521 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.6712, allocations: 4.753 MB / 0.8568 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.6728, allocations: 1.623 MB / 0.8584 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008552/0.6737, allocations: 167.4 kB / 0.8585 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of SimCode: time 9.81e-07/0.6737, allocations: 4 kB / 0.8585 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of Templates: time 0.05254/0.7263, allocations: 35.25 MB / 0.893 GB, free: 2.172 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)