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.001005/0.001005, allocations: 117.3 kB / 16.37 MB, free: 6.016 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.001222/0.001222, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 285.3 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9106/0.9106, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 98.27 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1449, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005645/0.1505, allocations: 4.894 MB / 0.6864 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2609/0.4114, allocations: 5.601 MB / 0.6919 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.4126, allocations: 26.91 kB / 0.6919 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01823/0.4309, allocations: 10.98 MB / 0.7026 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.4342, allocations: 1.222 MB / 0.7038 GB, free: 9.965 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.438, allocations: 1.537 MB / 0.7053 GB, free: 9.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01978/0.4578, allocations: 14.52 MB / 0.7195 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004334/0.4582, allocations: 167.9 kB / 0.7196 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.4597, allocations: 0.7773 MB / 0.7204 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.4609, allocations: 0.7444 MB / 0.7211 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000272/0.4612, allocations: 89.45 kB / 0.7212 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.463, allocations: 0.8766 MB / 0.7221 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008781/0.4639, allocations: 0.9088 MB / 0.7229 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.4653, allocations: 1.012 MB / 0.7239 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.4681, allocations: 2.966 MB / 0.7268 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4681, allocations: 0 / 0.7268 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.12e-07/0.4681, allocations: 0 / 0.7268 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.4681, allocations: 0 / 0.7268 GB, free: 15.67 MB / 0.4981 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.003955/0.4721, allocations: 2.631 MB / 0.7294 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.4721, allocations: 9.625 kB / 0.7294 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.475, allocations: 0.5961 MB / 0.73 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/0.4796, allocations: 2.922 MB / 0.7328 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.4796, allocations: 32.66 kB / 0.7329 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.146e-05/0.4797, allocations: 44 kB / 0.7329 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.4811, allocations: 0.6694 MB / 0.7336 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4811, allocations: 0 / 0.7336 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.4811, allocations: 16 kB / 0.7336 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.4812, allocations: 8 kB / 0.7336 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.4828, allocations: 0.5958 MB / 0.7342 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.487, allocations: 2.625 MB / 0.7367 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.4888, allocations: 0.7253 MB / 0.7374 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/0.4896, allocations: 297.2 kB / 0.7377 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.4896, allocations: 8.266 kB / 0.7377 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.4897, allocations: 34.84 kB / 0.7378 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.4897, allocations: 0 / 0.7378 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002783/0.4924, allocations: 1.11 MB / 0.7388 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.4925, allocations: 55.41 kB / 0.7389 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/0.4959, allocations: 3.121 MB / 0.7419 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.496, allocations: 41.7 kB / 0.742 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006741/0.4967, allocations: 0.8062 MB / 0.7428 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.4968, allocations: 138.3 kB / 0.7429 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006512/0.4975, allocations: 0.5714 MB / 0.7435 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.4975, allocations: 309.1 kB / 0.7438 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.4993, allocations: 1.23 MB / 0.745 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002084/0.5014, allocations: 1.694 MB / 0.7466 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00339/0.5048, allocations: 2.57 MB / 0.7491 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.5048, allocations: 0 / 0.7491 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004746/0.5096, allocations: 3.257 MB / 0.7523 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.5096, allocations: 11.94 kB / 0.7523 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5096, allocations: 11.94 kB / 0.7523 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.5097, allocations: 20 kB / 0.7523 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.511, allocations: 399.7 kB / 0.7527 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.711e-05/0.5111, allocations: 23.92 kB / 0.7528 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.513, allocations: 301.7 kB / 0.753 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.5131, allocations: 104.8 kB / 0.7531 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002411/0.5156, allocations: 1.707 MB / 0.7548 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002013/0.5176, allocations: 1.624 MB / 0.7564 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003261/0.5209, allocations: 2.421 MB / 0.7588 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.362e-06/0.5209, allocations: 7.938 kB / 0.7588 GB, free: 15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.004498/0.5254, allocations: 3.092 MB / 0.7618 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5254, allocations: 11.98 kB / 0.7618 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5254, allocations: 8 kB / 0.7618 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5254, allocations: 20 kB / 0.7618 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.5268, allocations: 395.6 kB / 0.7622 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.039e-05/0.5268, allocations: 23.92 kB / 0.7622 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.5285, allocations: 243.8 kB / 0.7625 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.5286, allocations: 95.97 kB / 0.7625 GB, free: 11.11 MB / 0.5294 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 (207): * Single equations (assignments): 199 * 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.0002981/0.5289, allocations: 259.7 kB / 0.7628 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.5292, allocations: 216.9 kB / 0.763 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.5313, allocations: 0.8681 MB / 0.7638 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5313, allocations: 4 kB / 0.7639 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5313, allocations: 3.938 kB / 0.7639 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5313, allocations: 3.984 kB / 0.7639 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.5326, allocations: 1.232 MB / 0.7651 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5326, allocations: 0 / 0.7651 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/0.5333, allocations: 123.8 kB / 0.7652 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.5333, allocations: 1.828 kB / 0.7652 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.5333, allocations: 15.98 kB / 0.7652 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.5333, allocations: 0 / 0.7652 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5333, allocations: 0 / 0.7652 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.5351, allocations: 0.9553 MB / 0.7661 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/0.5358, allocations: 389.8 kB / 0.7665 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/0.536, allocations: 8 kB / 0.7665 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.5369, allocations: 87.89 kB / 0.7666 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.537, allocations: 27.97 kB / 0.7666 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.537, allocations: 27.92 kB / 0.7666 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002369/0.5394, allocations: 2.043 MB / 0.7686 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.214e-06/0.5394, allocations: 0 / 0.7686 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001857/0.5413, allocations: 0.9059 MB / 0.7695 GB, free: 3.848 MB / 0.5294 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 (37): * Single equations (assignments): 37 * 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.0006921/0.542, allocations: 396.6 kB / 0.7699 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004964/0.547, allocations: 3.465 MB / 0.7733 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.547, allocations: 3.938 kB / 0.7733 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007971/0.5478, allocations: 332.2 kB / 0.7736 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/0.5504, allocations: 0.9372 MB / 0.7745 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/0.5638, allocations: 4.95 MB / 0.7794 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.565, allocations: 1.642 MB / 0.781 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001739/0.5667, allocations: 0.6713 MB / 0.7816 GB, free: 7.426 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/0.5671, allocations: 159.4 kB / 0.7818 GB, free: 7.27 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.5671, allocations: 0 / 0.7818 GB, free: 7.27 MB / 0.545 GB Notification: Performance of Templates: time 0.06044/0.6276, allocations: 43.74 MB / 0.8245 GB, free: 12.1 MB / 0.5919 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)