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.0008061/0.0008062, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009402/0.0009404, allocations: 178.6 kB / 16.92 MB, free: 6.645 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.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 8 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1571, allocations: 77.53 MB / 0.5601 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005043/0.1622, allocations: 4.465 MB / 0.5644 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009263/0.1715, allocations: 5.665 MB / 0.5699 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1725, allocations: 23.88 kB / 0.57 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01669/0.1892, allocations: 11.16 MB / 0.5809 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.1924, allocations: 1.137 MB / 0.582 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.1956, allocations: 1.404 MB / 0.5833 GB, free: 1.035 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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.3541/0.5496, allocations: 15.83 MB / 0.5988 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005092/0.5502, allocations: 160.7 kB / 0.599 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.5519, allocations: 0.6739 MB / 0.5996 GB, free: 21.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.553, allocations: 0.8169 MB / 0.6004 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.5531, allocations: 43.06 kB / 0.6005 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.5548, allocations: 0.878 MB / 0.6013 GB, free: 21.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008544/0.5557, allocations: 0.8754 MB / 0.6022 GB, free: 21.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009324/0.5566, allocations: 1.004 MB / 0.6032 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002975/0.5596, allocations: 2.935 MB / 0.606 GB, free: 19.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.5596, allocations: 0 / 0.606 GB, free: 19.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5597, allocations: 0 / 0.606 GB, free: 19.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.467e-05/0.5597, allocations: 1 kB / 0.606 GB, free: 19.29 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.003903/0.5636, allocations: 2.375 MB / 0.6083 GB, free: 17.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5637, allocations: 9.625 kB / 0.6083 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.223e-05/0.5637, allocations: 68.16 kB / 0.6084 GB, free: 17.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.5667, allocations: 0.6055 MB / 0.609 GB, free: 17.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008081/0.5748, allocations: 5.679 MB / 0.6145 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.575, allocations: 42.08 kB / 0.6146 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.5751, allocations: 50.95 kB / 0.6146 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.5765, allocations: 0.6844 MB / 0.6153 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5766, allocations: 1.375 kB / 0.6153 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.5766, allocations: 10.75 kB / 0.6153 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5766, allocations: 9.312 kB / 0.6153 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.5785, allocations: 0.6279 MB / 0.6159 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004752/0.5833, allocations: 2.725 MB / 0.6186 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002021/0.5854, allocations: 0.7513 MB / 0.6193 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008231/0.5862, allocations: 313.3 kB / 0.6196 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.5862, allocations: 11.31 kB / 0.6196 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.5863, allocations: 39.5 kB / 0.6197 GB, free: 10.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.845e-06/0.5863, allocations: 0 / 0.6197 GB, free: 10.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.003086/0.5894, allocations: 1.164 MB / 0.6208 GB, free: 9.453 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.5894, allocations: 55.41 kB / 0.6209 GB, free: 9.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.593, allocations: 3.369 MB / 0.6242 GB, free: 6.004 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.206e-05/0.5931, allocations: 41.7 kB / 0.6242 GB, free: 5.957 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/0.5936, allocations: 0.8237 MB / 0.625 GB, free: 5.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.5938, allocations: 137.9 kB / 0.6251 GB, free: 5.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.594, allocations: 323.8 kB / 0.6254 GB, free: 4.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.5941, allocations: 301.1 kB / 0.6257 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.5958, allocations: 1.234 MB / 0.6269 GB, free: 3.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.5978, allocations: 1.714 MB / 0.6286 GB, free: 1.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/0.6016, allocations: 2.608 MB / 0.6312 GB, free: 14.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.6017, allocations: 0 / 0.6312 GB, free: 14.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005666/0.6073, allocations: 3.287 MB / 0.6344 GB, free: 11.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.6076, allocations: 350.6 kB / 0.6347 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.6076, allocations: 8 kB / 0.6347 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.269e-05/0.6077, allocations: 20 kB / 0.6347 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.6092, allocations: 415.3 kB / 0.6351 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.808e-05/0.6092, allocations: 16 kB / 0.6351 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.6116, allocations: 318 kB / 0.6354 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.6118, allocations: 103.9 kB / 0.6355 GB, free: 9.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.6118, allocations: 4 kB / 0.6355 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00491/0.6167, allocations: 2.89 MB / 0.6384 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.6167, allocations: 12 kB / 0.6384 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.6168, allocations: 16 kB / 0.6384 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.6182, allocations: 395.7 kB / 0.6388 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.6182, allocations: 27.92 kB / 0.6388 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.6203, allocations: 250.5 kB / 0.639 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.6205, allocations: 95.97 kB / 0.6391 GB, free: 6.281 MB / 462.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.001352/0.6218, allocations: 0.7073 MB / 0.6398 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/0.6223, allocations: 224.8 kB / 0.64 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.6248, allocations: 0.9008 MB / 0.6409 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.6248, allocations: 4 kB / 0.6409 GB, free: 4.426 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6249, allocations: 3.938 kB / 0.6409 GB, free: 4.426 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6249, allocations: 3.984 kB / 0.6409 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.6267, allocations: 1.258 MB / 0.6422 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6267, allocations: 0 / 0.6422 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/0.6274, allocations: 131.8 kB / 0.6423 GB, free: 2.988 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.6275, allocations: 4 kB / 0.6423 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.6275, allocations: 11.98 kB / 0.6423 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6275, allocations: 0 / 0.6423 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.6275, allocations: 0 / 0.6423 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.6297, allocations: 0.9879 MB / 0.6433 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/0.6305, allocations: 413.7 kB / 0.6437 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.6307, allocations: 15.92 kB / 0.6437 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6318, allocations: 99.88 kB / 0.6438 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.6319, allocations: 23.97 kB / 0.6438 GB, free: 1.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.6319, allocations: 27.98 kB / 0.6438 GB, free: 1.375 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003228/0.6352, allocations: 2.243 MB / 0.646 GB, free: 15.13 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6352, allocations: 0 / 0.646 GB, free: 15.13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003197/0.6384, allocations: 0.905 MB / 0.6469 GB, free: 14.23 MB / 478.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.003551/0.6419, allocations: 1.819 MB / 0.6487 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006474/0.6484, allocations: 3.519 MB / 0.6521 GB, free: 8.887 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.6485, allocations: 0 / 0.6521 GB, free: 8.887 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009438/0.6494, allocations: 337.1 kB / 0.6524 GB, free: 8.559 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/0.6533, allocations: 0.8439 MB / 0.6532 GB, free: 7.738 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05226/0.7056, allocations: 24.05 MB / 0.6767 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/0.7071, allocations: 1.639 MB / 0.6783 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002842/0.71, allocations: 0.6786 MB / 0.679 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.7112, allocations: 0.8702 MB / 0.6799 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.094e-06/0.7112, allocations: 0 / 0.6799 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/0.8195, allocations: 60.62 MB / 0.7391 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.8197, allocations: 221.2 kB / 0.7393 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.437/4.256, allocations: 0 / 0.7393 GB, free: 15.09 MB / 0.5606 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)