Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 109.3 kB / 16.4 MB, free: 6.445 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.001857/0.001857, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7116/0.7116, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 62.52 kB / 0.5572 GB, free: 32.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1529, allocations: 76.18 MB / 0.6316 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006376/0.1593, allocations: 4.863 MB / 0.6363 GB, free: 140 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.1696, allocations: 5.634 MB / 0.6418 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.1709, allocations: 27.88 kB / 0.6419 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003775/0.1747, allocations: 1.275 MB / 0.6431 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.178, allocations: 1.284 MB / 0.6444 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.1815, allocations: 1.551 MB / 0.6459 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02093/0.2024, allocations: 14.67 MB / 0.6602 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005378/0.203, allocations: 166.5 kB / 0.6604 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.2046, allocations: 0.8098 MB / 0.6612 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.206, allocations: 0.7857 MB / 0.6619 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004331/0.2065, allocations: 92 kB / 0.662 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.2084, allocations: 0.893 MB / 0.6629 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.2094, allocations: 0.9309 MB / 0.6638 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.211, allocations: 1.052 MB / 0.6648 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004156/0.2152, allocations: 3.103 MB / 0.6678 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2152, allocations: 0 / 0.6678 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2152, allocations: 0 / 0.6678 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.469e-05/0.2153, allocations: 0 / 0.6678 GB, free: 15.79 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.006351/0.2217, allocations: 2.735 MB / 0.6705 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2217, allocations: 8.031 kB / 0.6705 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.2218, allocations: 62.53 kB / 0.6706 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.225, allocations: 0.6019 MB / 0.6712 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009365/0.2344, allocations: 5.751 MB / 0.6768 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.2345, allocations: 36.64 kB / 0.6768 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.2346, allocations: 44 kB / 0.6769 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.2362, allocations: 0.689 MB / 0.6775 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2362, allocations: 0 / 0.6775 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/0.2363, allocations: 12 kB / 0.6776 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2363, allocations: 12 kB / 0.6776 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.2384, allocations: 0.6387 MB / 0.6782 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005711/0.2441, allocations: 2.857 MB / 0.681 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.2463, allocations: 0.7652 MB / 0.6817 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000975/0.2473, allocations: 316.7 kB / 0.682 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.2473, allocations: 15.92 kB / 0.682 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2474, allocations: 34.56 kB / 0.6821 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.2474, allocations: 0 / 0.6821 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.00363/0.251, allocations: 1.187 MB / 0.6832 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.2511, allocations: 51.41 kB / 0.6833 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.2564, allocations: 3.47 MB / 0.6867 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.2565, allocations: 37.7 kB / 0.6867 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008077/0.2573, allocations: 0.8222 MB / 0.6875 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.2575, allocations: 138.3 kB / 0.6876 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008344/0.2583, allocations: 0.5676 MB / 0.6882 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2584, allocations: 313 kB / 0.6885 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/0.2606, allocations: 1.252 MB / 0.6897 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.2632, allocations: 1.727 MB / 0.6914 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004155/0.2674, allocations: 2.615 MB / 0.694 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.2674, allocations: 4 kB / 0.694 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005626/0.273, allocations: 3.319 MB / 0.6972 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.2731, allocations: 8 kB / 0.6972 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.2731, allocations: 8 kB / 0.6972 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.73e-05/0.2731, allocations: 20 kB / 0.6972 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.2747, allocations: 415.6 kB / 0.6976 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.094e-05/0.2747, allocations: 24.02 kB / 0.6977 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/0.2769, allocations: 317.4 kB / 0.698 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.2771, allocations: 104 kB / 0.6981 GB, free: 268 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002915/0.28, allocations: 1.73 MB / 0.6997 GB, free: 14.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002596/0.2826, allocations: 1.644 MB / 0.7014 GB, free: 12.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003986/0.2866, allocations: 2.46 MB / 0.7038 GB, free: 10.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-05/0.2866, allocations: 4 kB / 0.7038 GB, free: 10.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005457/0.2921, allocations: 3.147 MB / 0.7068 GB, free: 6.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.2921, allocations: 8 kB / 0.7068 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.2921, allocations: 8 kB / 0.7068 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.2922, allocations: 19.98 kB / 0.7069 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.2936, allocations: 407.6 kB / 0.7073 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.754e-05/0.2937, allocations: 19.94 kB / 0.7073 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.2959, allocations: 271.6 kB / 0.7075 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.2961, allocations: 99.95 kB / 0.7076 GB, free: 6.168 MB / 0.545 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.0003834/0.2965, allocations: 259.8 kB / 0.7079 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005537/0.297, allocations: 220.9 kB / 0.7081 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.2998, allocations: 0.9203 MB / 0.709 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2998, allocations: 4 kB / 0.709 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2998, allocations: 0 / 0.709 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2998, allocations: 0 / 0.709 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.302, allocations: 1.324 MB / 0.7103 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.302, allocations: 3.938 kB / 0.7103 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.3027, allocations: 127.8 kB / 0.7104 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.3028, allocations: 4 kB / 0.7104 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.3028, allocations: 15.98 kB / 0.7104 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3028, allocations: 4 kB / 0.7104 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3028, allocations: 0 / 0.7104 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.3054, allocations: 0.9983 MB / 0.7114 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.3066, allocations: 421.8 kB / 0.7118 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004687/0.307, allocations: 12 kB / 0.7118 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.3084, allocations: 107.8 kB / 0.7119 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.3084, allocations: 35.91 kB / 0.712 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.3085, allocations: 23.98 kB / 0.712 GB, free: 1.602 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003579/0.3121, allocations: 2.305 MB / 0.7142 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3121, allocations: 3.938 kB / 0.7142 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003335/0.3154, allocations: 0.9333 MB / 0.7151 GB, free: 14.36 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 (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.003614/0.3191, allocations: 1.83 MB / 0.7169 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006397/0.3255, allocations: 3.543 MB / 0.7204 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3255, allocations: 0.5 kB / 0.7204 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.3265, allocations: 357.2 kB / 0.7207 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/0.3307, allocations: 0.9334 MB / 0.7216 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05177/0.3825, allocations: 22.04 MB / 0.7432 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.291/0.6735, allocations: 1.638 MB / 0.7448 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002601/0.6762, allocations: 0.6771 MB / 0.7454 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.6773, allocations: 0.8617 MB / 0.7463 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.6773, allocations: 0.5938 kB / 0.7463 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/0.7832, allocations: 65.12 MB / 0.8099 GB, free: 55.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.52, allocations: 5.969 kB / 0.8099 GB, free: 55.73 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)