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.001802/0.001802, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001702/0.001702, allocations: 189.8 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002234/0.002234, allocations: 287.4 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.2 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 102.6 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1654, allocations: 86.97 MB / 0.6808 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006851/0.1723, allocations: 4.887 MB / 0.6856 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.339/0.5113, allocations: 5.6 MB / 0.6911 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.5126, allocations: 26.94 kB / 0.6911 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0201/0.5328, allocations: 10.98 MB / 0.7018 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.5368, allocations: 1.225 MB / 0.703 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004371/0.5412, allocations: 1.519 MB / 0.7045 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02337/0.5646, allocations: 14.52 MB / 0.7187 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005198/0.5652, allocations: 167.3 kB / 0.7188 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.5669, allocations: 0.7634 MB / 0.7196 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009246/0.5678, allocations: 0.75 MB / 0.7203 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.568, allocations: 83.44 kB / 0.7204 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.5701, allocations: 0.8793 MB / 0.7213 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008774/0.571, allocations: 0.9161 MB / 0.7221 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.5721, allocations: 1.009 MB / 0.7231 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.5753, allocations: 2.919 MB / 0.726 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5753, allocations: 1.594 kB / 0.726 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5753, allocations: 0 / 0.726 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.773e-05/0.5754, allocations: 0 / 0.726 GB, free: 15.98 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.004892/0.5803, allocations: 2.648 MB / 0.7286 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5803, allocations: 9.625 kB / 0.7286 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/0.5838, allocations: 0.591 MB / 0.7292 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005151/0.589, allocations: 2.908 MB / 0.732 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.5891, allocations: 45.02 kB / 0.732 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.5893, allocations: 47.94 kB / 0.7321 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.591, allocations: 0.6695 MB / 0.7327 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.591, allocations: 4 kB / 0.7327 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.5911, allocations: 8 kB / 0.7328 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.5911, allocations: 8 kB / 0.7328 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.5932, allocations: 0.6115 MB / 0.7334 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0062/0.5995, allocations: 2.638 MB / 0.7359 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.6018, allocations: 0.7468 MB / 0.7367 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009608/0.6028, allocations: 301.2 kB / 0.7369 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.153e-05/0.6029, allocations: 5.172 kB / 0.737 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.6029, allocations: 38.84 kB / 0.737 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.005e-06/0.6029, allocations: 4 kB / 0.737 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00384/0.6068, allocations: 1.142 MB / 0.7381 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.6068, allocations: 55.41 kB / 0.7382 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004696/0.6115, allocations: 3.116 MB / 0.7412 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.6117, allocations: 41.69 kB / 0.7412 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008119/0.6126, allocations: 0.8101 MB / 0.742 GB, free: 412 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.6127, allocations: 130.4 kB / 0.7422 GB, free: 280 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007746/0.6135, allocations: 0.5753 MB / 0.7427 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.6136, allocations: 309.1 kB / 0.743 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.6158, allocations: 1.233 MB / 0.7442 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.6183, allocations: 1.706 MB / 0.7459 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004265/0.6226, allocations: 2.59 MB / 0.7484 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.6226, allocations: 4 kB / 0.7484 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005889/0.6285, allocations: 3.265 MB / 0.7516 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.6286, allocations: 8 kB / 0.7516 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/0.6286, allocations: 12.86 kB / 0.7516 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.791e-05/0.6287, allocations: 24.17 kB / 0.7517 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.6302, allocations: 407.4 kB / 0.752 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.168e-05/0.6302, allocations: 23.92 kB / 0.7521 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.6326, allocations: 301.7 kB / 0.7524 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.6328, allocations: 108 kB / 0.7525 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003127/0.6359, allocations: 1.716 MB / 0.7541 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002388/0.6383, allocations: 1.628 MB / 0.7557 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003947/0.6423, allocations: 2.437 MB / 0.7581 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.748e-06/0.6423, allocations: 4 kB / 0.7581 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.005806/0.6481, allocations: 3.112 MB / 0.7611 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.6482, allocations: 8.188 kB / 0.7611 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.6482, allocations: 12 kB / 0.7612 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.6482, allocations: 19.94 kB / 0.7612 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.6498, allocations: 395.6 kB / 0.7616 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/0.6499, allocations: 23.92 kB / 0.7616 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.6524, allocations: 255.8 kB / 0.7618 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.6526, allocations: 91.97 kB / 0.7619 GB, free: 11.47 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.0004435/0.653, allocations: 267.7 kB / 0.7622 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/0.6534, allocations: 224.8 kB / 0.7624 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.6562, allocations: 0.8822 MB / 0.7632 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6562, allocations: 4 kB / 0.7632 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6562, allocations: 0 / 0.7632 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.6562, allocations: 3.984 kB / 0.7633 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.6582, allocations: 1.228 MB / 0.7645 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6582, allocations: 0 / 0.7645 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.659, allocations: 127.8 kB / 0.7646 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.659, allocations: 4 kB / 0.7646 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.659, allocations: 11.98 kB / 0.7646 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.659, allocations: 4 kB / 0.7646 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.659, allocations: 0 / 0.7646 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.6614, allocations: 0.9671 MB / 0.7655 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007105/0.6621, allocations: 397.8 kB / 0.7659 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.6624, allocations: 4 kB / 0.7659 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6635, allocations: 99.88 kB / 0.766 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/0.6636, allocations: 31.95 kB / 0.766 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-05/0.6636, allocations: 20 kB / 0.7661 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003132/0.6668, allocations: 2.046 MB / 0.7681 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6668, allocations: 0 / 0.7681 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002862/0.6697, allocations: 0.8982 MB / 0.7689 GB, free: 4.152 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.00092/0.6706, allocations: 402.8 kB / 0.7693 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006919/0.6775, allocations: 3.524 MB / 0.7728 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.6776, allocations: 0 / 0.7728 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.6786, allocations: 331.9 kB / 0.7731 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/0.6831, allocations: 0.9352 MB / 0.774 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/0.705, allocations: 5.106 MB / 0.779 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/0.7072, allocations: 1.634 MB / 0.7806 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/0.7086, allocations: 159.4 kB / 0.7807 GB, free: 8.023 MB / 0.545 GB Notification: Performance of SimCode: time 1.223e-06/0.7087, allocations: 0 / 0.7807 GB, free: 8.023 MB / 0.545 GB Notification: Performance of Templates: time 0.1078/0.8165, allocations: 34.54 MB / 0.8145 GB, free: 5.777 MB / 0.5762 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)