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.00108/0.00108, allocations: 100.1 kB / 15.88 MB, free: 12 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.00112/0.00112, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.263/1.263, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.673/0.673, allocations: 115.3 MB / 406 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.22 kB / 493 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1305, allocations: 76.18 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.00647/0.137, allocations: 4.881 MB / 0.5606 GB, free: 5.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009464/0.1465, allocations: 5.723 MB / 0.5662 GB, free: 128 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008614/0.1474, allocations: 19.88 kB / 0.5662 GB, free: 108 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01809/0.1655, allocations: 11.16 MB / 0.5771 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.1682, allocations: 1.14 MB / 0.5782 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003096/0.1713, allocations: 1.4 MB / 0.5796 GB, free: 2.383 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.2575/0.4288, allocations: 15.84 MB / 0.5951 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005475/0.4294, allocations: 169.4 kB / 0.5952 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.431, allocations: 0.6826 MB / 0.5959 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.4324, allocations: 0.8303 MB / 0.5967 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004227/0.4329, allocations: 47.97 kB / 0.5968 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.435, allocations: 0.8798 MB / 0.5976 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.4361, allocations: 0.8865 MB / 0.5985 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.4378, allocations: 0.9881 MB / 0.5994 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.4414, allocations: 2.971 MB / 0.6023 GB, free: 21.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4414, allocations: 5.25 kB / 0.6023 GB, free: 21.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.4414, allocations: 0 / 0.6023 GB, free: 21.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.265e-05/0.4415, allocations: 0 / 0.6023 GB, free: 21.01 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.004911/0.4464, allocations: 2.701 MB / 0.605 GB, free: 19.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4465, allocations: 9.469 kB / 0.605 GB, free: 19.01 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.552e-05/0.4465, allocations: 64.97 kB / 0.6051 GB, free: 18.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.4496, allocations: 0.5989 MB / 0.6056 GB, free: 18.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007904/0.4576, allocations: 5.707 MB / 0.6112 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.4577, allocations: 50.95 kB / 0.6113 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.323e-05/0.4578, allocations: 43.22 kB / 0.6113 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.4592, allocations: 0.6714 MB / 0.612 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4592, allocations: 0 / 0.612 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/0.4593, allocations: 14.38 kB / 0.612 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4593, allocations: 6.031 kB / 0.612 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.4611, allocations: 0.6114 MB / 0.6126 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004652/0.4657, allocations: 2.732 MB / 0.6152 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.4676, allocations: 0.7449 MB / 0.616 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007721/0.4684, allocations: 303.3 kB / 0.6163 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.4684, allocations: 10.81 kB / 0.6163 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.4685, allocations: 38.34 kB / 0.6163 GB, free: 12.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.335e-06/0.4685, allocations: 4 kB / 0.6163 GB, free: 12.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.00328/0.4718, allocations: 1.138 MB / 0.6174 GB, free: 11.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.4718, allocations: 59.41 kB / 0.6175 GB, free: 11.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/0.4753, allocations: 3.369 MB / 0.6208 GB, free: 8.172 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.4755, allocations: 37.7 kB / 0.6208 GB, free: 8.129 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.476, allocations: 0.8226 MB / 0.6216 GB, free: 7.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4761, allocations: 140.5 kB / 0.6217 GB, free: 7.191 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006358/0.4768, allocations: 0.5717 MB / 0.6223 GB, free: 6.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.4768, allocations: 305.1 kB / 0.6226 GB, free: 6.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.4785, allocations: 1.237 MB / 0.6238 GB, free: 5.078 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.4804, allocations: 1.707 MB / 0.6255 GB, free: 3.219 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.4835, allocations: 2.584 MB / 0.628 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.4835, allocations: 4 kB / 0.628 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005497/0.489, allocations: 3.284 MB / 0.6312 GB, free: 13.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.489, allocations: 8 kB / 0.6312 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.4891, allocations: 8 kB / 0.6312 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.4891, allocations: 20.12 kB / 0.6312 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.4906, allocations: 411.5 kB / 0.6316 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.702e-05/0.4906, allocations: 19.94 kB / 0.6316 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.493, allocations: 297.8 kB / 0.6319 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.4931, allocations: 104.8 kB / 0.632 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002685/0.4958, allocations: 1.718 MB / 0.6337 GB, free: 10.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002192/0.498, allocations: 1.632 MB / 0.6353 GB, free: 8.922 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003516/0.5016, allocations: 2.423 MB / 0.6377 GB, free: 6.379 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/0.5016, allocations: 0 / 0.6377 GB, free: 6.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.004914/0.5065, allocations: 3.131 MB / 0.6407 GB, free: 3.234 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.5065, allocations: 12 kB / 0.6407 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5066, allocations: 8 kB / 0.6407 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5066, allocations: 19.94 kB / 0.6408 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.508, allocations: 395.6 kB / 0.6411 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/0.508, allocations: 23.92 kB / 0.6412 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.5101, allocations: 259.7 kB / 0.6414 GB, free: 2.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.5103, allocations: 90.41 kB / 0.6415 GB, free: 2.445 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.0003475/0.5106, allocations: 271.2 kB / 0.6418 GB, free: 2.176 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.511, allocations: 216.9 kB / 0.642 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.5134, allocations: 0.8875 MB / 0.6428 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5134, allocations: 4 kB / 0.6428 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5134, allocations: 0 / 0.6428 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5134, allocations: 7.984 kB / 0.6428 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.5151, allocations: 1.241 MB / 0.6441 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5151, allocations: 0 / 0.6441 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.5158, allocations: 131.8 kB / 0.6442 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5158, allocations: 0 / 0.6442 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.5158, allocations: 15.98 kB / 0.6442 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.5158, allocations: 4 kB / 0.6442 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5158, allocations: 3.938 kB / 0.6442 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.5179, allocations: 0.9799 MB / 0.6452 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006517/0.5186, allocations: 409.8 kB / 0.6455 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.5189, allocations: 9.812 kB / 0.6456 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5199, allocations: 95.88 kB / 0.6457 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.52, allocations: 31.97 kB / 0.6457 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/0.52, allocations: 23.98 kB / 0.6457 GB, free: 14.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002894/0.5229, allocations: 2.235 MB / 0.6479 GB, free: 11.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5229, allocations: 0 / 0.6479 GB, free: 11.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002648/0.5256, allocations: 0.9096 MB / 0.6488 GB, free: 10.9 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.003215/0.5288, allocations: 1.816 MB / 0.6505 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005915/0.5347, allocations: 3.497 MB / 0.654 GB, free: 5.586 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5347, allocations: 0 / 0.654 GB, free: 5.586 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009147/0.5357, allocations: 336 kB / 0.6543 GB, free: 5.258 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/0.5392, allocations: 0.8432 MB / 0.6551 GB, free: 4.438 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04566/0.5848, allocations: 23.96 MB / 0.6785 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.5861, allocations: 1.642 MB / 0.6801 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002299/0.5884, allocations: 0.6758 MB / 0.6808 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.5895, allocations: 0.8703 MB / 0.6816 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of SimCode: time 1.403e-06/0.5895, allocations: 0 / 0.6816 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.099/0.6885, allocations: 61.15 MB / 0.7413 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.6888, allocations: 226.3 kB / 0.7415 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.441/4.13, allocations: 0 / 0.7415 GB, free: 11.32 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)