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.001209/0.001209, allocations: 100.3 kB / 16.27 MB, free: 5.93 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.001278/0.001278, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7225/0.7225, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3642, allocations: 77.91 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.00544/0.3697, allocations: 4.875 MB / 0.572 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008602/0.3783, allocations: 5.606 MB / 0.5775 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.3798, allocations: 27.12 kB / 0.5775 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01576/0.3957, allocations: 10.97 MB / 0.5883 GB, free: 21.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.399, allocations: 1.223 MB / 0.5895 GB, free: 20.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.402, allocations: 1.529 MB / 0.591 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01548/0.4175, allocations: 14.52 MB / 0.6051 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.418, allocations: 164.4 kB / 0.6053 GB, free: 3.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.4194, allocations: 0.7669 MB / 0.606 GB, free: 3.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.4204, allocations: 0.7506 MB / 0.6068 GB, free: 2.371 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003681/0.4208, allocations: 80 kB / 0.6068 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.4227, allocations: 0.8853 MB / 0.6077 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.4232, allocations: 0.9037 MB / 0.6086 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008252/0.4241, allocations: 1.041 MB / 0.6096 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.4278, allocations: 2.994 MB / 0.6125 GB, free: 12.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4278, allocations: 0 / 0.6125 GB, free: 12.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.4278, allocations: 0 / 0.6125 GB, free: 12.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.736e-05/0.4278, allocations: 3.938 kB / 0.6125 GB, free: 12.44 MB / 462.1 MB 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.004672/0.4325, allocations: 2.696 MB / 0.6152 GB, free: 9.676 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4326, allocations: 16.62 kB / 0.6152 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.137e-05/0.4327, allocations: 66.53 kB / 0.6152 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.4358, allocations: 0.5941 MB / 0.6158 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008551/0.4443, allocations: 5.704 MB / 0.6214 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.4445, allocations: 45 kB / 0.6214 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.4446, allocations: 48 kB / 0.6215 GB, free: 3.125 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.4461, allocations: 0.6656 MB / 0.6221 GB, free: 2.453 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4462, allocations: 4 kB / 0.6221 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/0.4462, allocations: 15.94 kB / 0.6222 GB, free: 2.434 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4462, allocations: 8 kB / 0.6222 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.4482, allocations: 0.6076 MB / 0.6228 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004787/0.453, allocations: 2.743 MB / 0.6254 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.4551, allocations: 0.7457 MB / 0.6262 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008818/0.456, allocations: 301.9 kB / 0.6264 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.456, allocations: 8.281 kB / 0.6265 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.456, allocations: 38.84 kB / 0.6265 GB, free: 13.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.456, allocations: 0 / 0.6265 GB, free: 13.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.003275/0.4593, allocations: 1.155 MB / 0.6276 GB, free: 12.74 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4594, allocations: 55.41 kB / 0.6277 GB, free: 12.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.4632, allocations: 3.369 MB / 0.631 GB, free: 9.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.4633, allocations: 41.7 kB / 0.631 GB, free: 9.246 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006392/0.464, allocations: 0.826 MB / 0.6318 GB, free: 8.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4641, allocations: 138.4 kB / 0.6319 GB, free: 8.277 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006504/0.4648, allocations: 0.5675 MB / 0.6325 GB, free: 7.707 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.4648, allocations: 301.1 kB / 0.6328 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.4668, allocations: 1.237 MB / 0.634 GB, free: 6.168 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.469, allocations: 1.698 MB / 0.6357 GB, free: 4.312 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/0.4727, allocations: 2.593 MB / 0.6382 GB, free: 1.594 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.4728, allocations: 4 kB / 0.6382 GB, free: 1.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005403/0.4782, allocations: 3.267 MB / 0.6414 GB, free: 14.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.4782, allocations: 12.03 kB / 0.6414 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.4783, allocations: 19.92 kB / 0.6414 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/0.4783, allocations: 16 kB / 0.6414 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.4798, allocations: 403.5 kB / 0.6418 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.467e-05/0.4799, allocations: 23.92 kB / 0.6418 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/0.4821, allocations: 307.7 kB / 0.6421 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.4823, allocations: 103.9 kB / 0.6422 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002792/0.4851, allocations: 1.715 MB / 0.6439 GB, free: 11.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002341/0.4875, allocations: 1.628 MB / 0.6455 GB, free: 9.949 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003718/0.4912, allocations: 2.433 MB / 0.6479 GB, free: 7.395 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.294e-05/0.4913, allocations: 4 kB / 0.6479 GB, free: 7.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.005143/0.4964, allocations: 3.114 MB / 0.6509 GB, free: 4.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4964, allocations: 10.03 kB / 0.6509 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4965, allocations: 11.94 kB / 0.6509 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.4965, allocations: 16 kB / 0.6509 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.4979, allocations: 407.6 kB / 0.6513 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.468e-05/0.498, allocations: 19.94 kB / 0.6514 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.5001, allocations: 255.7 kB / 0.6516 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.5003, allocations: 95.91 kB / 0.6517 GB, free: 3.465 MB / 494.1 MB 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.0004118/0.5007, allocations: 255.8 kB / 0.6519 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005613/0.5013, allocations: 228.8 kB / 0.6521 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.504, allocations: 0.8925 MB / 0.653 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.504, allocations: 4 kB / 0.653 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.504, allocations: 0 / 0.653 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5041, allocations: 7.875 kB / 0.653 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.5063, allocations: 1.245 MB / 0.6542 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.5063, allocations: 8 kB / 0.6543 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.507, allocations: 123.9 kB / 0.6544 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.5071, allocations: 3.938 kB / 0.6544 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.381e-05/0.5071, allocations: 12 kB / 0.6544 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5071, allocations: 3.938 kB / 0.6544 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5071, allocations: 3.984 kB / 0.6544 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.5095, allocations: 0.9725 MB / 0.6553 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007979/0.5103, allocations: 401.8 kB / 0.6557 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/0.5107, allocations: 12 kB / 0.6557 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.5119, allocations: 95.88 kB / 0.6558 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.512, allocations: 27.91 kB / 0.6559 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.5121, allocations: 23.98 kB / 0.6559 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003995/0.5161, allocations: 2.235 MB / 0.6581 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5161, allocations: 0 / 0.6581 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00385/0.5199, allocations: 0.9215 MB / 0.659 GB, free: 11.89 MB / 0.4981 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.003959/0.5239, allocations: 1.817 MB / 0.6607 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007021/0.531, allocations: 3.517 MB / 0.6642 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.531, allocations: 0 / 0.6642 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009615/0.532, allocations: 332 kB / 0.6645 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/0.5367, allocations: 0.9268 MB / 0.6654 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04449/0.5812, allocations: 23.61 MB / 0.6884 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.5825, allocations: 1.644 MB / 0.6901 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00273/0.5853, allocations: 0.6741 MB / 0.6907 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.5866, allocations: 0.8663 MB / 0.6916 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of SimCode: time 9.81e-07/0.5866, allocations: 3.938 kB / 0.6916 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3522/0.9388, allocations: 62.84 MB / 0.7529 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/9.503, allocations: 6.172 kB / 0.7529 GB, free: 160.3 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)