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.007013/0.007014, allocations: 98.3 kB / 15.73 MB, free: 6.004 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.001712/0.001712, allocations: 193.1 kB / 16.67 MB, free: 5.934 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 290.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9394/0.9394, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 99.84 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.181, allocations: 86.96 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005439/0.1865, allocations: 4.883 MB / 0.7711 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3763/0.5628, allocations: 5.619 MB / 0.7766 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009042/0.5637, allocations: 26.59 kB / 0.7767 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003769/0.5675, allocations: 1.282 MB / 0.7779 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.5705, allocations: 1.292 MB / 0.7792 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.574, allocations: 1.542 MB / 0.7807 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02347/0.5975, allocations: 14.66 MB / 0.795 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005671/0.5981, allocations: 170.8 kB / 0.7952 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.6001, allocations: 0.8113 MB / 0.796 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.6012, allocations: 0.7918 MB / 0.7967 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.6015, allocations: 92.81 kB / 0.7968 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.6037, allocations: 0.8945 MB / 0.7977 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.6049, allocations: 0.9183 MB / 0.7986 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.606, allocations: 1.03 MB / 0.7996 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.6109, allocations: 3.04 MB / 0.8026 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.611, allocations: 0 / 0.8026 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.414e-06/0.611, allocations: 0 / 0.8026 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.429e-05/0.611, allocations: 0 / 0.8026 GB, free: 1.613 MB / 0.5606 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.005399/0.6165, allocations: 2.754 MB / 0.8053 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.6165, allocations: 9.625 kB / 0.8053 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.6197, allocations: 0.6038 MB / 0.8059 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/0.6253, allocations: 2.982 MB / 0.8088 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.6253, allocations: 36.06 kB / 0.8088 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.6255, allocations: 46 kB / 0.8088 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.6271, allocations: 0.6817 MB / 0.8095 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.6271, allocations: 0 / 0.8095 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.6272, allocations: 15.66 kB / 0.8095 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.6272, allocations: 6.875 kB / 0.8095 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.6293, allocations: 0.6479 MB / 0.8102 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005781/0.6351, allocations: 2.761 MB / 0.8129 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.6373, allocations: 0.7563 MB / 0.8136 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009544/0.6383, allocations: 323.8 kB / 0.8139 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.6384, allocations: 12.66 kB / 0.8139 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.6384, allocations: 42.25 kB / 0.814 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 3.126e-06/0.6384, allocations: 0 / 0.814 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.003899/0.6423, allocations: 1.184 MB / 0.8151 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.6424, allocations: 54.72 kB / 0.8152 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005192/0.6476, allocations: 3.218 MB / 0.8183 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.6478, allocations: 36.7 kB / 0.8183 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007487/0.6485, allocations: 0.8136 MB / 0.8191 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.6487, allocations: 148.1 kB / 0.8193 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008223/0.6495, allocations: 0.575 MB / 0.8198 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.6496, allocations: 302.7 kB / 0.8201 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.6519, allocations: 1.251 MB / 0.8214 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.6544, allocations: 1.732 MB / 0.823 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/0.6587, allocations: 2.617 MB / 0.8256 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.6587, allocations: 2.812 kB / 0.8256 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005747/0.6644, allocations: 3.321 MB / 0.8288 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.6645, allocations: 12 kB / 0.8289 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/0.6645, allocations: 8 kB / 0.8289 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-05/0.6646, allocations: 16 kB / 0.8289 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.666, allocations: 416.2 kB / 0.8293 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.345e-05/0.6661, allocations: 19.94 kB / 0.8293 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/0.6689, allocations: 319.8 kB / 0.8296 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.6692, allocations: 104 kB / 0.8297 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003161/0.6723, allocations: 1.726 MB / 0.8314 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002503/0.6749, allocations: 1.655 MB / 0.833 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00397/0.6788, allocations: 2.464 MB / 0.8354 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.345e-05/0.6789, allocations: 6.734 kB / 0.8354 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005649/0.6845, allocations: 3.151 MB / 0.8385 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.6846, allocations: 15.98 kB / 0.8385 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.6846, allocations: 9.5 kB / 0.8385 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.6846, allocations: 16 kB / 0.8385 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.6861, allocations: 403.5 kB / 0.8389 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.725e-05/0.6861, allocations: 23.94 kB / 0.8389 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.689, allocations: 279.1 kB / 0.8392 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.6892, allocations: 87.97 kB / 0.8393 GB, free: 7.039 MB / 0.5919 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.0004525/0.6896, allocations: 264.4 kB / 0.8395 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007775/0.6904, allocations: 231.9 kB / 0.8398 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.6934, allocations: 0.9188 MB / 0.8407 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.6934, allocations: 4 kB / 0.8407 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.6934, allocations: 0 / 0.8407 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6934, allocations: 0 / 0.8407 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.6965, allocations: 1.293 MB / 0.8419 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6965, allocations: 0 / 0.8419 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.6972, allocations: 136.7 kB / 0.8421 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.6972, allocations: 4 kB / 0.8421 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/0.6973, allocations: 11.98 kB / 0.8421 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6973, allocations: 4 kB / 0.8421 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6973, allocations: 0 / 0.8421 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.6999, allocations: 1.008 MB / 0.8431 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.701, allocations: 415.3 kB / 0.8435 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/0.7022, allocations: 11.94 kB / 0.8435 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.704, allocations: 111.8 kB / 0.8436 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.7041, allocations: 27.97 kB / 0.8436 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.7042, allocations: 23.98 kB / 0.8436 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004631/0.7088, allocations: 2.117 MB / 0.8457 GB, free: 400 kB / 0.5919 GB Notification: Performance of sort global known variables: time 5.61e-07/0.7088, allocations: 0 / 0.8457 GB, free: 400 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004195/0.713, allocations: 0.9221 MB / 0.8466 GB, free: 15.46 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.001378/0.7144, allocations: 409.1 kB / 0.847 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006656/0.7211, allocations: 3.547 MB / 0.8504 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7211, allocations: 0 / 0.8504 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009948/0.7221, allocations: 348.2 kB / 0.8508 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/0.7266, allocations: 0.9378 MB / 0.8517 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.7409, allocations: 4.7 MB / 0.8563 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.7427, allocations: 1.65 MB / 0.8579 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002757/0.7455, allocations: 0.6767 MB / 0.8586 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/0.7463, allocations: 159.4 kB / 0.8587 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/0.7463, allocations: 0 / 0.8587 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of Templates: time 0.07331/0.8196, allocations: 44.79 MB / 0.9024 GB, free: 6.891 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)