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.0009949/0.0009949, allocations: 106 kB / 16.27 MB, free: 6 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.001064/0.001064, allocations: 191.1 kB / 17.2 MB, free: 5.641 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.75/0.75, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 77.93 MB / 0.5673 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005668/0.3467, allocations: 4.865 MB / 0.572 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009319/0.356, allocations: 5.608 MB / 0.5775 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.3575, allocations: 28.19 kB / 0.5775 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01731/0.3748, allocations: 10.98 MB / 0.5883 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.3783, allocations: 1.212 MB / 0.5894 GB, free: 19.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.3818, allocations: 1.539 MB / 0.591 GB, free: 18.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01806/0.3999, allocations: 14.51 MB / 0.6051 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005457/0.4004, allocations: 176.3 kB / 0.6053 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.4017, allocations: 0.7591 MB / 0.606 GB, free: 3.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.4027, allocations: 0.7545 MB / 0.6068 GB, free: 2.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003316/0.4031, allocations: 80 kB / 0.6068 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.4049, allocations: 0.8814 MB / 0.6077 GB, free: 1.422 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007621/0.4057, allocations: 0.8998 MB / 0.6086 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.4071, allocations: 1.041 MB / 0.6096 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003972/0.4111, allocations: 2.998 MB / 0.6125 GB, free: 12.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4111, allocations: 4 kB / 0.6125 GB, free: 12.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4111, allocations: 3.938 kB / 0.6125 GB, free: 12.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.017e-05/0.4111, allocations: 0 / 0.6125 GB, free: 12.45 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.004336/0.4155, allocations: 2.693 MB / 0.6152 GB, free: 9.691 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4155, allocations: 8.625 kB / 0.6152 GB, free: 9.684 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.549e-05/0.4156, allocations: 70.53 kB / 0.6152 GB, free: 9.605 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/0.4188, allocations: 0.598 MB / 0.6158 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009038/0.4279, allocations: 5.7 MB / 0.6214 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.4281, allocations: 53 kB / 0.6214 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.4283, allocations: 44 kB / 0.6215 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.43, allocations: 0.6656 MB / 0.6221 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.43, allocations: 0 / 0.6221 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.4301, allocations: 12 kB / 0.6221 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4301, allocations: 4 kB / 0.6221 GB, free: 2.453 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.4322, allocations: 0.6192 MB / 0.6228 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/0.4379, allocations: 2.743 MB / 0.6254 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.4402, allocations: 0.7458 MB / 0.6262 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009478/0.4411, allocations: 301.9 kB / 0.6264 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.4412, allocations: 12.27 kB / 0.6265 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.4412, allocations: 34.84 kB / 0.6265 GB, free: 13.92 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.4412, allocations: 4 kB / 0.6265 GB, free: 13.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.003563/0.4448, allocations: 1.147 MB / 0.6276 GB, free: 12.76 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.4448, allocations: 55.41 kB / 0.6277 GB, free: 12.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004915/0.4498, allocations: 3.373 MB / 0.631 GB, free: 9.305 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.45, allocations: 41.64 kB / 0.631 GB, free: 9.258 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008638/0.4508, allocations: 0.8259 MB / 0.6318 GB, free: 8.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.451, allocations: 130.4 kB / 0.6319 GB, free: 8.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009627/0.452, allocations: 0.5753 MB / 0.6325 GB, free: 7.723 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4521, allocations: 309.1 kB / 0.6328 GB, free: 7.418 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.4544, allocations: 1.233 MB / 0.634 GB, free: 6.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002648/0.457, allocations: 1.706 MB / 0.6357 GB, free: 4.316 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/0.4613, allocations: 2.585 MB / 0.6382 GB, free: 1.605 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.4613, allocations: 4 kB / 0.6382 GB, free: 1.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005792/0.4671, allocations: 3.271 MB / 0.6414 GB, free: 14.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4672, allocations: 13.97 kB / 0.6414 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.4672, allocations: 8 kB / 0.6414 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.4672, allocations: 20.19 kB / 0.6414 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.4688, allocations: 407.5 kB / 0.6418 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.025e-05/0.4688, allocations: 23.92 kB / 0.6418 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/0.4709, allocations: 303.7 kB / 0.6421 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.4711, allocations: 104 kB / 0.6422 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002926/0.4741, allocations: 1.715 MB / 0.6439 GB, free: 11.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002389/0.4765, allocations: 1.636 MB / 0.6455 GB, free: 9.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003906/0.4804, allocations: 2.425 MB / 0.6479 GB, free: 7.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.115e-06/0.4804, allocations: 4 kB / 0.6479 GB, free: 7.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.005414/0.4858, allocations: 3.118 MB / 0.6509 GB, free: 4.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.4859, allocations: 11.94 kB / 0.6509 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4859, allocations: 8 kB / 0.6509 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4859, allocations: 16 kB / 0.6509 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.4874, allocations: 403.6 kB / 0.6513 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/0.4874, allocations: 23.92 kB / 0.6514 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.4895, allocations: 255.7 kB / 0.6516 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.4897, allocations: 95.91 kB / 0.6517 GB, free: 3.473 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.0003406/0.49, allocations: 259.8 kB / 0.6519 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.4905, allocations: 224.8 kB / 0.6521 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.4931, allocations: 0.8886 MB / 0.653 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4932, allocations: 4 kB / 0.653 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4932, allocations: 0 / 0.653 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.4932, allocations: 7.922 kB / 0.653 GB, free: 2.078 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.4949, allocations: 1.241 MB / 0.6542 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.4949, allocations: 4 kB / 0.6542 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.4957, allocations: 123.8 kB / 0.6544 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/0.4957, allocations: 0 / 0.6544 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.4957, allocations: 27.92 kB / 0.6544 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4958, allocations: 0 / 0.6544 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4958, allocations: 0 / 0.6544 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.4981, allocations: 0.9724 MB / 0.6553 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006708/0.4988, allocations: 401.8 kB / 0.6557 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.4991, allocations: 8 kB / 0.6557 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.5002, allocations: 103.9 kB / 0.6558 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.5003, allocations: 31.89 kB / 0.6559 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.5004, allocations: 20 kB / 0.6559 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003011/0.5034, allocations: 2.239 MB / 0.6581 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5034, allocations: 0 / 0.6581 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002313/0.5057, allocations: 0.9137 MB / 0.659 GB, free: 11.91 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.003311/0.509, allocations: 1.821 MB / 0.6607 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006209/0.5152, allocations: 3.513 MB / 0.6642 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5153, allocations: 4 kB / 0.6642 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.5163, allocations: 332 kB / 0.6645 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/0.5202, allocations: 0.9336 MB / 0.6654 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04461/0.5648, allocations: 23.61 MB / 0.6885 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.5664, allocations: 1.637 MB / 0.69 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003083/0.5695, allocations: 0.6836 MB / 0.6907 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/0.571, allocations: 0.8819 MB / 0.6916 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.571, allocations: 0 / 0.6916 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4178/0.9888, allocations: 62.82 MB / 0.7529 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.04, allocations: 3.766 kB / 0.7529 GB, free: 160.1 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)