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.001183/0.001183, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001311/0.001311, allocations: 196 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7148/0.7148, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 62.73 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1415, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006119/0.1476, allocations: 4.867 MB / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009364/0.157, allocations: 5.637 MB / 0.6418 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.1583, allocations: 23.94 kB / 0.6419 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.1616, allocations: 1.283 MB / 0.6431 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.1645, allocations: 1.288 MB / 0.6444 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.1675, allocations: 1.555 MB / 0.6459 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02058/0.1881, allocations: 14.67 MB / 0.6602 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005302/0.1887, allocations: 172.4 kB / 0.6604 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.1904, allocations: 0.8098 MB / 0.6612 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.1915, allocations: 0.7896 MB / 0.6619 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.1917, allocations: 92 kB / 0.662 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.1935, allocations: 0.8969 MB / 0.6629 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007981/0.1943, allocations: 0.9231 MB / 0.6638 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.1953, allocations: 1.049 MB / 0.6648 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003738/0.1991, allocations: 3.095 MB / 0.6679 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1991, allocations: 0 / 0.6679 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1991, allocations: 0 / 0.6679 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.299e-05/0.1992, allocations: 0 / 0.6679 GB, free: 15.66 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.004885/0.2041, allocations: 2.739 MB / 0.6705 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2041, allocations: 8.031 kB / 0.6705 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.426e-05/0.2042, allocations: 70.53 kB / 0.6706 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/0.2071, allocations: 0.5941 MB / 0.6712 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009057/0.2162, allocations: 5.759 MB / 0.6768 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/0.2163, allocations: 36.66 kB / 0.6768 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.2164, allocations: 44 kB / 0.6769 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.2181, allocations: 0.6812 MB / 0.6776 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2181, allocations: 0 / 0.6776 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.2182, allocations: 23.97 kB / 0.6776 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2182, allocations: 4 kB / 0.6776 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.2202, allocations: 0.6426 MB / 0.6782 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00579/0.226, allocations: 2.854 MB / 0.681 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.2281, allocations: 0.7644 MB / 0.6817 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009107/0.2291, allocations: 320.6 kB / 0.682 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.2291, allocations: 11.92 kB / 0.6821 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.2292, allocations: 38.5 kB / 0.6821 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 2.345e-06/0.2292, allocations: 0 / 0.6821 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.003533/0.2327, allocations: 1.183 MB / 0.6833 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2328, allocations: 55.41 kB / 0.6833 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004908/0.2377, allocations: 3.462 MB / 0.6867 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000295/0.238, allocations: 41.69 kB / 0.6867 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000785/0.2388, allocations: 0.8182 MB / 0.6875 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.239, allocations: 142.3 kB / 0.6877 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007744/0.2398, allocations: 0.5676 MB / 0.6882 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2399, allocations: 313.1 kB / 0.6885 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.2421, allocations: 1.256 MB / 0.6897 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/0.2445, allocations: 1.727 MB / 0.6914 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/0.2484, allocations: 2.608 MB / 0.694 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.2484, allocations: 4 kB / 0.694 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005717/0.2541, allocations: 3.319 MB / 0.6972 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.2542, allocations: 8 kB / 0.6972 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.2542, allocations: 12 kB / 0.6972 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.2543, allocations: 16 kB / 0.6973 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.2557, allocations: 415.6 kB / 0.6976 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.622e-05/0.2558, allocations: 23.94 kB / 0.6977 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.2579, allocations: 317.4 kB / 0.698 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.258, allocations: 104 kB / 0.6981 GB, free: 128 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002746/0.2608, allocations: 1.73 MB / 0.6998 GB, free: 14.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002303/0.2631, allocations: 1.644 MB / 0.7014 GB, free: 12.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0039/0.267, allocations: 2.46 MB / 0.7038 GB, free: 10.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.396e-06/0.2671, allocations: 4 kB / 0.7038 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005391/0.2724, allocations: 3.147 MB / 0.7068 GB, free: 6.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.2725, allocations: 8.188 kB / 0.7069 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.2725, allocations: 8 kB / 0.7069 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2725, allocations: 19.94 kB / 0.7069 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.2739, allocations: 403.6 kB / 0.7073 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.509e-05/0.274, allocations: 27.92 kB / 0.7073 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.2761, allocations: 279.5 kB / 0.7076 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/0.2763, allocations: 95.97 kB / 0.7077 GB, free: 6.023 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.000406/0.2767, allocations: 255.8 kB / 0.7079 GB, free: 5.766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004032/0.2771, allocations: 220.9 kB / 0.7081 GB, free: 5.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.2797, allocations: 0.9165 MB / 0.709 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2798, allocations: 8 kB / 0.709 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2798, allocations: 0 / 0.709 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.2798, allocations: 3.984 kB / 0.709 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.2817, allocations: 1.312 MB / 0.7103 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2817, allocations: 3.938 kB / 0.7103 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006917/0.2824, allocations: 135.8 kB / 0.7104 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.2824, allocations: 0 / 0.7104 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.2824, allocations: 12 kB / 0.7104 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.2824, allocations: 4 kB / 0.7104 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2824, allocations: 0 / 0.7104 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.2848, allocations: 1.006 MB / 0.7114 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008393/0.2857, allocations: 421.8 kB / 0.7118 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.2859, allocations: 8 kB / 0.7118 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.287, allocations: 115.8 kB / 0.7119 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.2871, allocations: 31.89 kB / 0.712 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.2872, allocations: 23.98 kB / 0.712 GB, free: 1.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003449/0.2906, allocations: 2.309 MB / 0.7143 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2906, allocations: 0 / 0.7143 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002617/0.2933, allocations: 0.9332 MB / 0.7152 GB, free: 14.22 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.003362/0.2966, allocations: 1.834 MB / 0.717 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006231/0.3029, allocations: 3.539 MB / 0.7204 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3029, allocations: 0 / 0.7204 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009467/0.3039, allocations: 353.9 kB / 0.7207 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/0.3074, allocations: 0.9389 MB / 0.7217 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03811/0.3455, allocations: 22.04 MB / 0.7432 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3022/0.6478, allocations: 1.638 MB / 0.7448 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002675/0.6505, allocations: 0.6825 MB / 0.7455 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/0.6519, allocations: 0.8584 MB / 0.7463 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.6519, allocations: 3.938 kB / 0.7463 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09451/0.7464, allocations: 64.09 MB / 0.8089 GB, free: 56.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.8, allocations: 9.203 kB / 0.8089 GB, free: 56.72 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)