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.00111/0.001111, allocations: 102.1 kB / 15.98 MB, free: 6.355 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.001261/0.001261, allocations: 198.7 kB / 16.91 MB, free: 6.199 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.27/1.27, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6874/0.6874, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.91 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.327, allocations: 76.16 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.004979/0.332, allocations: 4.877 MB / 0.5608 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008081/0.3401, allocations: 5.609 MB / 0.5663 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008887/0.341, allocations: 22.59 kB / 0.5663 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01649/0.3576, allocations: 11.5 MB / 0.5775 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.3612, allocations: 1.142 MB / 0.5786 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.3647, allocations: 1.424 MB / 0.58 GB, free: 24.82 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01856/0.3833, allocations: 15.43 MB / 0.5951 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005041/0.3838, allocations: 172.8 kB / 0.5953 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.3851, allocations: 0.7901 MB / 0.596 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.3863, allocations: 0.852 MB / 0.5969 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003334/0.3866, allocations: 84 kB / 0.5969 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.3885, allocations: 0.8774 MB / 0.5978 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008084/0.3894, allocations: 0.9271 MB / 0.5987 GB, free: 8.938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.3905, allocations: 1.041 MB / 0.5997 GB, free: 7.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.3935, allocations: 3.025 MB / 0.6027 GB, free: 4.855 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3935, allocations: 0 / 0.6027 GB, free: 4.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3935, allocations: 0 / 0.6027 GB, free: 4.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.286e-05/0.3936, allocations: 0 / 0.6027 GB, free: 4.855 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.00429/0.3979, allocations: 2.689 MB / 0.6053 GB, free: 2.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3979, allocations: 8.031 kB / 0.6053 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.602e-05/0.398, allocations: 74.53 kB / 0.6054 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/0.4009, allocations: 0.5902 MB / 0.6059 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00872/0.4096, allocations: 5.712 MB / 0.6115 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.4098, allocations: 49 kB / 0.6116 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.41, allocations: 48 kB / 0.6116 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.4116, allocations: 0.6656 MB / 0.6123 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4117, allocations: 0 / 0.6123 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.4117, allocations: 16 kB / 0.6123 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4118, allocations: 7.938 kB / 0.6123 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.4137, allocations: 0.6114 MB / 0.6129 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/0.4195, allocations: 2.745 MB / 0.6156 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.4216, allocations: 0.7423 MB / 0.6163 GB, free: 6.668 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009039/0.4225, allocations: 305.2 kB / 0.6166 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.4226, allocations: 8.266 kB / 0.6166 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4226, allocations: 42.84 kB / 0.6166 GB, free: 6.309 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.4226, allocations: 0 / 0.6166 GB, free: 6.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.003434/0.4261, allocations: 1.136 MB / 0.6177 GB, free: 5.164 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.4261, allocations: 55.34 kB / 0.6178 GB, free: 5.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0055/0.4316, allocations: 3.376 MB / 0.6211 GB, free: 1.707 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.4318, allocations: 41.7 kB / 0.6211 GB, free: 1.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009095/0.4327, allocations: 0.8221 MB / 0.6219 GB, free: 0.832 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.4329, allocations: 130.3 kB / 0.6221 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00093/0.4338, allocations: 0.5831 MB / 0.6226 GB, free: 120 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.434, allocations: 301.1 kB / 0.6229 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.4361, allocations: 1.245 MB / 0.6241 GB, free: 14.57 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.4386, allocations: 1.698 MB / 0.6258 GB, free: 12.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003669/0.4422, allocations: 2.585 MB / 0.6283 GB, free: 10.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.4423, allocations: 4 kB / 0.6283 GB, free: 10.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005217/0.4475, allocations: 3.28 MB / 0.6315 GB, free: 6.719 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.4475, allocations: 8.188 kB / 0.6315 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.4476, allocations: 12 kB / 0.6315 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-05/0.4476, allocations: 20 kB / 0.6316 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.4491, allocations: 407.5 kB / 0.6319 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.07e-05/0.4491, allocations: 19.94 kB / 0.632 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.4516, allocations: 305.9 kB / 0.6323 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.4518, allocations: 108 kB / 0.6324 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003229/0.4551, allocations: 1.712 MB / 0.634 GB, free: 4.141 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002342/0.4574, allocations: 1.628 MB / 0.6356 GB, free: 2.359 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003741/0.4612, allocations: 2.429 MB / 0.638 GB, free: 15.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-05/0.4612, allocations: 7.938 kB / 0.638 GB, free: 15.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.005228/0.4664, allocations: 3.114 MB / 0.641 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4665, allocations: 8 kB / 0.6411 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.4665, allocations: 8 kB / 0.6411 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4665, allocations: 16 kB / 0.6411 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.468, allocations: 399.6 kB / 0.6415 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.6e-05/0.468, allocations: 31.92 kB / 0.6415 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/0.4702, allocations: 242.6 kB / 0.6417 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.4704, allocations: 107.9 kB / 0.6418 GB, free: 11.88 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.0004329/0.4708, allocations: 255.8 kB / 0.6421 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005248/0.4713, allocations: 220.9 kB / 0.6423 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.474, allocations: 0.9006 MB / 0.6432 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.474, allocations: 0 / 0.6432 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.474, allocations: 4 kB / 0.6432 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.474, allocations: 7.922 kB / 0.6432 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.4761, allocations: 1.234 MB / 0.6444 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4761, allocations: 0 / 0.6444 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.4768, allocations: 131.9 kB / 0.6445 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.4768, allocations: 0 / 0.6445 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.4769, allocations: 19.92 kB / 0.6445 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4769, allocations: 0 / 0.6445 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4769, allocations: 0 / 0.6445 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.4792, allocations: 0.9826 MB / 0.6455 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008341/0.4801, allocations: 401.8 kB / 0.6459 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/0.4805, allocations: 7.984 kB / 0.6459 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.4817, allocations: 103.9 kB / 0.646 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.4818, allocations: 27.91 kB / 0.646 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.4819, allocations: 23.98 kB / 0.646 GB, free: 7.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003712/0.4856, allocations: 2.235 MB / 0.6482 GB, free: 5.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4856, allocations: 0 / 0.6482 GB, free: 5.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002791/0.4884, allocations: 0.9137 MB / 0.6491 GB, free: 4.316 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.003488/0.4919, allocations: 1.806 MB / 0.6509 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006314/0.4983, allocations: 3.512 MB / 0.6543 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4983, allocations: 4.25 kB / 0.6543 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009007/0.4992, allocations: 336 kB / 0.6546 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/0.5034, allocations: 0.9413 MB / 0.6555 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05072/0.5541, allocations: 23.96 MB / 0.6789 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.5557, allocations: 1.643 MB / 0.6805 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002689/0.5584, allocations: 0.6766 MB / 0.6812 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/0.5597, allocations: 0.8702 MB / 0.682 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.5597, allocations: 0 / 0.682 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09123/0.651, allocations: 62.5 MB / 0.7431 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.6512, allocations: 218.1 kB / 0.7433 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.213/3.864, allocations: 4 kB / 0.7433 GB, free: 3.305 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)