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.001281/0.001281, allocations: 101 kB / 16.4 MB, free: 6.461 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.001238/0.001238, allocations: 196 kB / 17.34 MB, free: 5.715 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7921/0.7921, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 73.58 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1497, allocations: 78.87 MB / 0.6506 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006219/0.1559, allocations: 4.88 MB / 0.6553 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009365/0.1653, allocations: 5.638 MB / 0.6608 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005756/0.1659, allocations: 27.88 kB / 0.6609 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.1691, allocations: 1.295 MB / 0.6621 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.1715, allocations: 1.327 MB / 0.6634 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.1743, allocations: 1.528 MB / 0.6649 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01721/0.1915, allocations: 12.47 MB / 0.6771 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.1919, allocations: 172.3 kB / 0.6773 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.1931, allocations: 0.802 MB / 0.678 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009306/0.1941, allocations: 0.7779 MB / 0.6788 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.1942, allocations: 92 kB / 0.6789 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.1959, allocations: 0.9008 MB / 0.6798 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008182/0.1967, allocations: 0.9193 MB / 0.6807 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009792/0.1977, allocations: 1.06 MB / 0.6817 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.2011, allocations: 3.104 MB / 0.6847 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2011, allocations: 0 / 0.6847 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2011, allocations: 0 / 0.6847 GB, free: 492 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.899e-05/0.2011, allocations: 0 / 0.6847 GB, free: 492 kB / 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.004558/0.2057, allocations: 2.777 MB / 0.6874 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2057, allocations: 12.03 kB / 0.6875 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.69e-05/0.2058, allocations: 66.53 kB / 0.6875 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.2089, allocations: 0.6072 MB / 0.6881 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009298/0.2182, allocations: 5.815 MB / 0.6938 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.2183, allocations: 36.66 kB / 0.6938 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.2184, allocations: 44 kB / 0.6939 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.2201, allocations: 0.6812 MB / 0.6945 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2202, allocations: 0 / 0.6945 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.2202, allocations: 19.94 kB / 0.6946 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2202, allocations: 8 kB / 0.6946 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.2224, allocations: 0.6388 MB / 0.6952 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.2275, allocations: 2.831 MB / 0.6979 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.2298, allocations: 0.7736 MB / 0.6987 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009958/0.2308, allocations: 320.7 kB / 0.699 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.2308, allocations: 11.97 kB / 0.699 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2309, allocations: 38.56 kB / 0.6991 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.2309, allocations: 0 / 0.6991 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.003621/0.2345, allocations: 1.191 MB / 0.7002 GB, free: 376 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2346, allocations: 55.41 kB / 0.7003 GB, free: 308 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004554/0.2391, allocations: 3.447 MB / 0.7036 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.2392, allocations: 41.7 kB / 0.7037 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007918/0.24, allocations: 0.8267 MB / 0.7045 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.2402, allocations: 154.8 kB / 0.7046 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007873/0.241, allocations: 0.5717 MB / 0.7052 GB, free: 11.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2411, allocations: 305.1 kB / 0.7055 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.2433, allocations: 1.252 MB / 0.7067 GB, free: 9.676 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/0.246, allocations: 1.735 MB / 0.7084 GB, free: 7.781 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004204/0.2502, allocations: 2.615 MB / 0.711 GB, free: 5.047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.2502, allocations: 4 kB / 0.711 GB, free: 5.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005652/0.2559, allocations: 3.325 MB / 0.7142 GB, free: 1.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.2559, allocations: 8 kB / 0.7142 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.2559, allocations: 12 kB / 0.7142 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/0.256, allocations: 16 kB / 0.7142 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.2575, allocations: 415.5 kB / 0.7146 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/0.2575, allocations: 23.88 kB / 0.7147 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.2593, allocations: 302.4 kB / 0.7149 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.2595, allocations: 108 kB / 0.715 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002889/0.2624, allocations: 1.726 MB / 0.7167 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002485/0.2649, allocations: 1.644 MB / 0.7183 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003995/0.2689, allocations: 2.468 MB / 0.7208 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.643e-06/0.2689, allocations: 7.938 kB / 0.7208 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005432/0.2744, allocations: 3.159 MB / 0.7238 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2744, allocations: 8 kB / 0.7239 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.2744, allocations: 8 kB / 0.7239 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2744, allocations: 16 kB / 0.7239 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.2759, allocations: 407.6 kB / 0.7243 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.276, allocations: 19.94 kB / 0.7243 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.2778, allocations: 259.9 kB / 0.7245 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.278, allocations: 87.97 kB / 0.7246 GB, free: 6.758 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 (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.000369/0.2784, allocations: 259.8 kB / 0.7249 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.2787, allocations: 242.3 kB / 0.7251 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.2814, allocations: 0.9165 MB / 0.726 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.2814, allocations: 4 kB / 0.726 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.2814, allocations: 11.92 kB / 0.726 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2814, allocations: 0 / 0.726 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.283, allocations: 1.293 MB / 0.7273 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2831, allocations: 3.984 kB / 0.7273 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007252/0.2838, allocations: 135.8 kB / 0.7274 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2838, allocations: 3.984 kB / 0.7274 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.2839, allocations: 8 kB / 0.7274 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2839, allocations: 4 kB / 0.7274 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2839, allocations: 3.938 kB / 0.7274 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.2862, allocations: 1.015 MB / 0.7284 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/0.2869, allocations: 439.1 kB / 0.7288 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.2871, allocations: 8 kB / 0.7288 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.2881, allocations: 87.89 kB / 0.7289 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.2882, allocations: 31.84 kB / 0.7289 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.2883, allocations: 23.98 kB / 0.729 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003243/0.2915, allocations: 2.302 MB / 0.7312 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2915, allocations: 0 / 0.7312 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002311/0.2939, allocations: 0.9212 MB / 0.7321 GB, free: 14.96 MB / 0.5762 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.003508/0.2974, allocations: 1.843 MB / 0.7339 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00655/0.3039, allocations: 3.552 MB / 0.7374 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.304, allocations: 0 / 0.7374 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.305, allocations: 349.4 kB / 0.7377 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.3085, allocations: 0.9472 MB / 0.7386 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3404/0.6488, allocations: 22.05 MB / 0.7602 GB, free: 82.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/0.6501, allocations: 1.638 MB / 0.7618 GB, free: 81.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00215/0.6523, allocations: 0.6797 MB / 0.7624 GB, free: 81.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009887/0.6533, allocations: 0.8678 MB / 0.7633 GB, free: 81.06 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.6533, allocations: 0 / 0.7633 GB, free: 81.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08663/0.7399, allocations: 63.94 MB / 0.8257 GB, free: 27.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.96, allocations: 4 kB / 0.8257 GB, free: 27.4 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)