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.00113/0.00113, allocations: 109.3 kB / 16.41 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.001141/0.00114, allocations: 195 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7346/0.7346, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 72.19 kB / 0.568 GB, free: 28.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1404, allocations: 77.93 MB / 0.6441 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006184/0.1467, allocations: 4.867 MB / 0.6488 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009941/0.1566, allocations: 5.628 MB / 0.6543 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.1577, allocations: 23.94 kB / 0.6543 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003589/0.1613, allocations: 1.287 MB / 0.6556 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.1643, allocations: 1.302 MB / 0.6569 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.1674, allocations: 1.543 MB / 0.6584 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02002/0.1874, allocations: 14.67 MB / 0.6727 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.188, allocations: 172.4 kB / 0.6729 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.1896, allocations: 0.8136 MB / 0.6737 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.191, allocations: 0.7896 MB / 0.6744 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003681/0.1914, allocations: 92 kB / 0.6745 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.1932, allocations: 0.893 MB / 0.6754 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.1943, allocations: 0.9232 MB / 0.6763 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.1959, allocations: 1.049 MB / 0.6773 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.1996, allocations: 3.112 MB / 0.6803 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1997, allocations: 7.922 kB / 0.6804 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1997, allocations: 0 / 0.6804 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.019e-05/0.1997, allocations: 0 / 0.6804 GB, free: 4.254 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.004906/0.2046, allocations: 2.816 MB / 0.6831 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.2047, allocations: 8.625 kB / 0.6831 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.399e-05/0.2048, allocations: 66.53 kB / 0.6832 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.2078, allocations: 0.6111 MB / 0.6838 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008824/0.2167, allocations: 5.788 MB / 0.6894 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.2167, allocations: 28.66 kB / 0.6895 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.2169, allocations: 48 kB / 0.6895 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.2185, allocations: 0.689 MB / 0.6902 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2185, allocations: 0 / 0.6902 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/0.2186, allocations: 8 kB / 0.6902 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2186, allocations: 8 kB / 0.6902 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.2206, allocations: 0.6388 MB / 0.6908 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005195/0.2259, allocations: 2.858 MB / 0.6936 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.2281, allocations: 0.7685 MB / 0.6944 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/0.229, allocations: 320.5 kB / 0.6947 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.2291, allocations: 11.98 kB / 0.6947 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.2291, allocations: 31.03 kB / 0.6947 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.903e-06/0.2291, allocations: 0 / 0.6947 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.003588/0.2327, allocations: 1.202 MB / 0.6959 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.2328, allocations: 51.41 kB / 0.6959 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004337/0.2371, allocations: 3.475 MB / 0.6993 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.2373, allocations: 37.7 kB / 0.6994 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007256/0.238, allocations: 0.8228 MB / 0.7002 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.2382, allocations: 150.9 kB / 0.7003 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000685/0.2389, allocations: 0.5679 MB / 0.7009 GB, free: 14.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.239, allocations: 305.1 kB / 0.7011 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/0.241, allocations: 1.26 MB / 0.7024 GB, free: 13.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/0.2434, allocations: 1.723 MB / 0.7041 GB, free: 11.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003944/0.2474, allocations: 2.615 MB / 0.7066 GB, free: 8.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.2474, allocations: 8 kB / 0.7066 GB, free: 8.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005392/0.2528, allocations: 3.332 MB / 0.7099 GB, free: 5.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.2528, allocations: 8 kB / 0.7099 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.2529, allocations: 8 kB / 0.7099 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.2529, allocations: 20 kB / 0.7099 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.2544, allocations: 415.6 kB / 0.7103 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.2544, allocations: 23.94 kB / 0.7103 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.2565, allocations: 327.2 kB / 0.7106 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.2566, allocations: 99.97 kB / 0.7107 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002651/0.2593, allocations: 1.738 MB / 0.7124 GB, free: 2.816 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002219/0.2615, allocations: 1.64 MB / 0.714 GB, free: 1.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003606/0.2651, allocations: 2.46 MB / 0.7164 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.373e-06/0.2651, allocations: 4 kB / 0.7164 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005004/0.2702, allocations: 3.159 MB / 0.7195 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2702, allocations: 9.562 kB / 0.7195 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.2702, allocations: 11.98 kB / 0.7195 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2702, allocations: 16 kB / 0.7196 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.2717, allocations: 403.6 kB / 0.7199 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.087e-05/0.2717, allocations: 23.94 kB / 0.72 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/0.2737, allocations: 270.9 kB / 0.7202 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.2739, allocations: 95.97 kB / 0.7203 GB, free: 10.45 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.0003565/0.2743, allocations: 263.7 kB / 0.7206 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.2746, allocations: 234.3 kB / 0.7208 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.2771, allocations: 0.9165 MB / 0.7217 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2772, allocations: 11.98 kB / 0.7217 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2772, allocations: 0 / 0.7217 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2772, allocations: 0 / 0.7217 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.2787, allocations: 1.32 MB / 0.723 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2787, allocations: 0 / 0.723 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/0.2794, allocations: 131.8 kB / 0.7231 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2795, allocations: 4 kB / 0.7231 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.2795, allocations: 11.98 kB / 0.7231 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.2795, allocations: 7.984 kB / 0.7231 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2795, allocations: 0 / 0.7231 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.2818, allocations: 1.015 MB / 0.7241 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/0.2825, allocations: 431.2 kB / 0.7245 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/0.2828, allocations: 12 kB / 0.7246 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.2839, allocations: 115.8 kB / 0.7247 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.284, allocations: 27.91 kB / 0.7247 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.2841, allocations: 27.98 kB / 0.7247 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003002/0.2871, allocations: 2.305 MB / 0.727 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2871, allocations: 0 / 0.727 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002276/0.2894, allocations: 0.9369 MB / 0.7279 GB, free: 2.59 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.003265/0.2926, allocations: 1.851 MB / 0.7297 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006014/0.2987, allocations: 3.552 MB / 0.7332 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2987, allocations: 0 / 0.7332 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009975/0.2997, allocations: 356 kB / 0.7335 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/0.3031, allocations: 0.9275 MB / 0.7344 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3344/0.6375, allocations: 22.1 MB / 0.756 GB, free: 89.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.6391, allocations: 1.641 MB / 0.7576 GB, free: 89.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002157/0.6412, allocations: 0.6784 MB / 0.7583 GB, free: 88.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.6423, allocations: 0.86 MB / 0.7591 GB, free: 88.34 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/0.6423, allocations: 0.5938 kB / 0.7591 GB, free: 88.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09046/0.7328, allocations: 64.1 MB / 0.8217 GB, free: 35.85 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.36, allocations: 11.94 kB / 0.8217 GB, free: 35.84 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)