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.001248/0.001248, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 282.9 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9291/0.9291, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 97.42 kB / 0.5952 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1545, allocations: 86.99 MB / 0.6802 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006356/0.1609, allocations: 4.879 MB / 0.685 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009346/0.1703, allocations: 5.61 MB / 0.6904 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.1714, allocations: 27.88 kB / 0.6905 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01582/0.1872, allocations: 10.98 MB / 0.7012 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.1902, allocations: 1.214 MB / 0.7024 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.1935, allocations: 1.516 MB / 0.7038 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01889/0.2124, allocations: 14.52 MB / 0.718 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.2128, allocations: 172.3 kB / 0.7182 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.214, allocations: 0.7592 MB / 0.7189 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.215, allocations: 0.7506 MB / 0.7197 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.2154, allocations: 84 kB / 0.7197 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.217, allocations: 0.8891 MB / 0.7206 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008163/0.2178, allocations: 0.9037 MB / 0.7215 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.2191, allocations: 1.01 MB / 0.7225 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.2223, allocations: 2.927 MB / 0.7253 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2223, allocations: 0 / 0.7253 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2223, allocations: 0 / 0.7253 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.572e-05/0.2224, allocations: 0 / 0.7253 GB, free: 2.363 MB / 0.5137 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.004652/0.227, allocations: 2.638 MB / 0.7279 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2271, allocations: 8.031 kB / 0.7279 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.2302, allocations: 0.5941 MB / 0.7285 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/0.2348, allocations: 2.895 MB / 0.7313 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.235, allocations: 48.95 kB / 0.7314 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.2351, allocations: 44 kB / 0.7314 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.2367, allocations: 0.6734 MB / 0.7321 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2368, allocations: 3.938 kB / 0.7321 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.2368, allocations: 15.94 kB / 0.7321 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2368, allocations: 8 kB / 0.7321 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.2388, allocations: 0.6154 MB / 0.7327 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.2438, allocations: 2.631 MB / 0.7353 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.246, allocations: 0.7574 MB / 0.736 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009012/0.2469, allocations: 301.2 kB / 0.7363 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.247, allocations: 8.281 kB / 0.7363 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.247, allocations: 34.84 kB / 0.7363 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.913e-06/0.247, allocations: 4 kB / 0.7363 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.003411/0.2505, allocations: 1.141 MB / 0.7375 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.2505, allocations: 55.41 kB / 0.7375 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004222/0.2547, allocations: 3.116 MB / 0.7406 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.2549, allocations: 42.34 kB / 0.7406 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007495/0.2556, allocations: 0.8024 MB / 0.7414 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.2558, allocations: 134.3 kB / 0.7415 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007513/0.2565, allocations: 0.5715 MB / 0.7421 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.2566, allocations: 309.1 kB / 0.7424 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.2587, allocations: 1.237 MB / 0.7436 GB, free: 15.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.2611, allocations: 1.702 MB / 0.7452 GB, free: 13.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/0.265, allocations: 2.585 MB / 0.7478 GB, free: 10.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.2651, allocations: 4 kB / 0.7478 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00536/0.2704, allocations: 3.279 MB / 0.751 GB, free: 7.547 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.2705, allocations: 8 kB / 0.751 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.2705, allocations: 8 kB / 0.751 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/0.2705, allocations: 16.19 kB / 0.751 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.272, allocations: 411.5 kB / 0.7514 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.36e-05/0.2721, allocations: 23.92 kB / 0.7514 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.274, allocations: 305.3 kB / 0.7517 GB, free: 6.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.2741, allocations: 107.9 kB / 0.7518 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002635/0.2768, allocations: 1.72 MB / 0.7535 GB, free: 4.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002422/0.2792, allocations: 1.624 MB / 0.7551 GB, free: 3.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004043/0.2833, allocations: 2.433 MB / 0.7574 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-05/0.2833, allocations: 4 kB / 0.7574 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.005112/0.2884, allocations: 3.113 MB / 0.7605 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2885, allocations: 10.19 kB / 0.7605 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.2885, allocations: 11.98 kB / 0.7605 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.2885, allocations: 16 kB / 0.7605 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.29, allocations: 403.6 kB / 0.7609 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-05/0.29, allocations: 23.92 kB / 0.7609 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.2921, allocations: 250.7 kB / 0.7612 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.2923, allocations: 91.97 kB / 0.7613 GB, free: 12.71 MB / 0.5606 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.0003852/0.2927, allocations: 268.4 kB / 0.7615 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004486/0.2932, allocations: 213 kB / 0.7617 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.2958, allocations: 0.8815 MB / 0.7626 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2959, allocations: 7.984 kB / 0.7626 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.2959, allocations: 0 / 0.7626 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.2959, allocations: 15.8 kB / 0.7626 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.2978, allocations: 1.225 MB / 0.7638 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2978, allocations: 0 / 0.7638 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007105/0.2985, allocations: 119.9 kB / 0.7639 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2985, allocations: 3.938 kB / 0.7639 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.2986, allocations: 19.98 kB / 0.7639 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.2986, allocations: 0 / 0.7639 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2986, allocations: 0 / 0.7639 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.3009, allocations: 0.971 MB / 0.7649 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007457/0.3017, allocations: 385.8 kB / 0.7653 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/0.3021, allocations: 8 kB / 0.7653 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.3035, allocations: 95.88 kB / 0.7653 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.3036, allocations: 31.95 kB / 0.7654 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.3036, allocations: 23.94 kB / 0.7654 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003097/0.3067, allocations: 2.046 MB / 0.7674 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3067, allocations: 0 / 0.7674 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002664/0.3094, allocations: 0.8982 MB / 0.7683 GB, free: 5.402 MB / 0.5606 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.0009194/0.3103, allocations: 406.8 kB / 0.7687 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00617/0.3165, allocations: 3.511 MB / 0.7721 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.3166, allocations: 5.688 kB / 0.7721 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009652/0.3175, allocations: 343.6 kB / 0.7724 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/0.321, allocations: 0.925 MB / 0.7733 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2906/0.6116, allocations: 4.977 MB / 0.7782 GB, free: 90.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.6129, allocations: 1.645 MB / 0.7798 GB, free: 90.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002643/0.6155, allocations: 0.67 MB / 0.7805 GB, free: 90.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000526/0.6161, allocations: 161.9 kB / 0.7806 GB, free: 90.17 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.6161, allocations: 0 / 0.7806 GB, free: 90.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.06765/0.6837, allocations: 43.79 MB / 0.8234 GB, free: 65.44 MB / 0.5606 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)