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: translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 106.2 kB / 16.52 MB, free: 6.664 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.001145/0.001145, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7194/0.7194, allocations: 115.3 MB / 406.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 59.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3917, allocations: 76.18 MB / 0.5564 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.00553/0.3973, allocations: 4.867 MB / 0.5611 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.4079, allocations: 5.739 MB / 0.5667 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.4097, allocations: 18.78 kB / 0.5668 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.022/0.4318, allocations: 11.15 MB / 0.5776 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.4361, allocations: 1.138 MB / 0.5788 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.4405, allocations: 1.406 MB / 0.5801 GB, free: 25.04 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02243/0.463, allocations: 15.85 MB / 0.5956 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004596/0.4635, allocations: 165.4 kB / 0.5958 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.4648, allocations: 0.6848 MB / 0.5964 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008545/0.4657, allocations: 0.8324 MB / 0.5972 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.4658, allocations: 51.94 kB / 0.5973 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.468, allocations: 0.8735 MB / 0.5981 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006437/0.4687, allocations: 0.888 MB / 0.599 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007096/0.4694, allocations: 0.9706 MB / 0.6 GB, free: 8.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.4713, allocations: 2.229 MB / 0.6021 GB, free: 5.812 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4713, allocations: 0 / 0.6021 GB, free: 5.812 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4713, allocations: 0 / 0.6021 GB, free: 5.812 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.495e-05/0.4714, allocations: 0 / 0.6021 GB, free: 5.812 MB / 446.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.003716/0.4751, allocations: 2.642 MB / 0.6047 GB, free: 3.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4752, allocations: 8.031 kB / 0.6047 GB, free: 3.094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.4782, allocations: 0.5941 MB / 0.6053 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.4822, allocations: 2.903 MB / 0.6081 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.4824, allocations: 52.89 kB / 0.6082 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.4825, allocations: 48 kB / 0.6082 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.484, allocations: 0.6656 MB / 0.6089 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4841, allocations: 0 / 0.6089 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.4841, allocations: 16 kB / 0.6089 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.4841, allocations: 7.938 kB / 0.6089 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.486, allocations: 0.6115 MB / 0.6095 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005091/0.4911, allocations: 2.638 MB / 0.6121 GB, free: 11.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.4933, allocations: 0.7513 MB / 0.6128 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000849/0.4941, allocations: 305.2 kB / 0.6131 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.4942, allocations: 8.266 kB / 0.6131 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.4942, allocations: 38.84 kB / 0.6132 GB, free: 10.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.4942, allocations: 0 / 0.6132 GB, free: 10.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.003442/0.4977, allocations: 1.136 MB / 0.6143 GB, free: 9.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.4977, allocations: 63.28 kB / 0.6143 GB, free: 9.086 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005188/0.5029, allocations: 3.116 MB / 0.6174 GB, free: 5.953 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.5032, allocations: 37.69 kB / 0.6174 GB, free: 5.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008785/0.5041, allocations: 0.8062 MB / 0.6182 GB, free: 5.098 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.5043, allocations: 134.3 kB / 0.6183 GB, free: 4.965 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.5053, allocations: 0.5754 MB / 0.6189 GB, free: 4.387 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.5054, allocations: 305.1 kB / 0.6192 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.5076, allocations: 1.244 MB / 0.6204 GB, free: 2.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.51, allocations: 1.694 MB / 0.622 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/0.5141, allocations: 2.585 MB / 0.6246 GB, free: 14.28 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.941e-05/0.5142, allocations: 7.984 kB / 0.6246 GB, free: 14.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005847/0.52, allocations: 3.276 MB / 0.6278 GB, free: 10.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.5201, allocations: 8.188 kB / 0.6278 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/0.5201, allocations: 12 kB / 0.6278 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/0.5201, allocations: 16.09 kB / 0.6278 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.5217, allocations: 407.4 kB / 0.6282 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.434e-05/0.5218, allocations: 19.94 kB / 0.6282 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.5241, allocations: 309.6 kB / 0.6285 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/0.5243, allocations: 108 kB / 0.6286 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002967/0.5273, allocations: 1.718 MB / 0.6303 GB, free: 8.402 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002477/0.5298, allocations: 1.628 MB / 0.6319 GB, free: 6.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003744/0.5335, allocations: 2.425 MB / 0.6342 GB, free: 4.078 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.207e-05/0.5336, allocations: 4 kB / 0.6343 GB, free: 4.074 MB / 478.1 MB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.005393/0.539, allocations: 3.107 MB / 0.6373 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.539, allocations: 8 kB / 0.6373 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.539, allocations: 12 kB / 0.6373 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/0.5391, allocations: 16 kB / 0.6373 GB, free: 0.918 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.5406, allocations: 403.6 kB / 0.6377 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.512e-05/0.5406, allocations: 27.92 kB / 0.6377 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.5431, allocations: 250.5 kB / 0.638 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.5433, allocations: 95.97 kB / 0.6381 GB, free: 160 kB / 478.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.000482/0.5438, allocations: 260.6 kB / 0.6383 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005715/0.5443, allocations: 213 kB / 0.6385 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.5471, allocations: 0.8961 MB / 0.6394 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.5471, allocations: 4 kB / 0.6394 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5471, allocations: 4.094 kB / 0.6394 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.5471, allocations: 11.86 kB / 0.6394 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.5494, allocations: 1.21 MB / 0.6406 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5494, allocations: 4 kB / 0.6406 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007118/0.5501, allocations: 119.9 kB / 0.6407 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.5501, allocations: 4 kB / 0.6407 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.5502, allocations: 19.92 kB / 0.6407 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.5502, allocations: 0 / 0.6407 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5502, allocations: 0 / 0.6407 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.5526, allocations: 0.9668 MB / 0.6417 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008358/0.5534, allocations: 393.7 kB / 0.6421 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/0.5539, allocations: 8 kB / 0.6421 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/0.5553, allocations: 103.9 kB / 0.6422 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.5554, allocations: 19.97 kB / 0.6422 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.5555, allocations: 27.92 kB / 0.6422 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003993/0.5595, allocations: 2.043 MB / 0.6442 GB, free: 9.754 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5595, allocations: 0 / 0.6442 GB, free: 9.754 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003416/0.5629, allocations: 0.8982 MB / 0.6451 GB, free: 8.855 MB / 494.1 MB 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.001173/0.5641, allocations: 402.9 kB / 0.6455 GB, free: 8.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006314/0.5704, allocations: 3.51 MB / 0.6489 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5705, allocations: 4 kB / 0.6489 GB, free: 4.945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009386/0.5714, allocations: 335.7 kB / 0.6492 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/0.5754, allocations: 0.8358 MB / 0.65 GB, free: 3.801 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/0.5928, allocations: 5.551 MB / 0.6554 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.5945, allocations: 1.631 MB / 0.657 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008477/0.5954, allocations: 167.3 kB / 0.6572 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.5954, allocations: 3.938 kB / 0.6572 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.05547/0.6509, allocations: 34.51 MB / 0.6909 GB, free: 10.14 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)