Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00107/0.00107, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008252/0.008252, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001783, allocations: 278.8 kB / 291.7 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004143, allocations: 13.38 kB / 0.5987 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1612, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.004881/0.1661, allocations: 4.483 MB / 0.6895 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009198/0.1753, allocations: 5.652 MB / 0.695 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007124/0.176, allocations: 19.88 kB / 0.695 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01626/0.1923, allocations: 11.17 MB / 0.7059 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003037/0.1954, allocations: 1.129 MB / 0.707 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.1984, allocations: 1.415 MB / 0.7084 GB, free: 7.176 MB / 0.4981 GB [/var/lib/jenkins/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.02307/0.2215, allocations: 15.84 MB / 0.7239 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000606/0.2221, allocations: 164.4 kB / 0.7241 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.2238, allocations: 0.673 MB / 0.7247 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.225, allocations: 0.8168 MB / 0.7255 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.2251, allocations: 44 kB / 0.7256 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.2269, allocations: 0.8774 MB / 0.7264 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008089/0.2278, allocations: 0.8841 MB / 0.7273 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008609/0.2286, allocations: 0.9724 MB / 0.7282 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/0.2316, allocations: 2.86 MB / 0.731 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2316, allocations: 0 / 0.731 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2316, allocations: 0 / 0.731 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.128e-05/0.2316, allocations: 0 / 0.731 GB, free: 15.98 MB / 0.5294 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.003723/0.2354, allocations: 2.324 MB / 0.7333 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2354, allocations: 8.031 kB / 0.7333 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/0.2384, allocations: 0.6058 MB / 0.7339 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004678/0.2431, allocations: 2.876 MB / 0.7367 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.2433, allocations: 48.94 kB / 0.7367 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.2434, allocations: 48 kB / 0.7368 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.245, allocations: 0.6773 MB / 0.7375 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.245, allocations: 0 / 0.7375 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.245, allocations: 12 kB / 0.7375 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2451, allocations: 8 kB / 0.7375 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.2471, allocations: 0.6193 MB / 0.7381 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004622/0.2517, allocations: 2.643 MB / 0.7407 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.2539, allocations: 0.7516 MB / 0.7414 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009112/0.2548, allocations: 309.2 kB / 0.7417 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.2548, allocations: 8.266 kB / 0.7417 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.2549, allocations: 38.84 kB / 0.7417 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.2549, allocations: 0.6562 kB / 0.7417 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.003544/0.2584, allocations: 1.167 MB / 0.7429 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.2585, allocations: 55.41 kB / 0.7429 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00424/0.2627, allocations: 3.116 MB / 0.746 GB, free: 416 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.2629, allocations: 37.7 kB / 0.746 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007244/0.2636, allocations: 0.8062 MB / 0.7468 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.2638, allocations: 142.4 kB / 0.7469 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.2641, allocations: 323.8 kB / 0.7472 GB, free: 15.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.2642, allocations: 305.1 kB / 0.7475 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.2663, allocations: 1.23 MB / 0.7487 GB, free: 13.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.2688, allocations: 1.714 MB / 0.7504 GB, free: 11.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004001/0.2728, allocations: 2.597 MB / 0.7529 GB, free: 8.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.2728, allocations: 4 kB / 0.7529 GB, free: 8.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005672/0.2785, allocations: 3.282 MB / 0.7561 GB, free: 5.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003589/0.2789, allocations: 358.1 kB / 0.7565 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.2789, allocations: 8 kB / 0.7565 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/0.2789, allocations: 19.94 kB / 0.7565 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.2804, allocations: 411.5 kB / 0.7569 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.694e-05/0.2805, allocations: 27.86 kB / 0.7569 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/0.2826, allocations: 318 kB / 0.7572 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/0.2828, allocations: 104 kB / 0.7573 GB, free: 4.336 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2828, allocations: 7.938 kB / 0.7573 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004997/0.2878, allocations: 2.889 MB / 0.7602 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.2879, allocations: 8 kB / 0.7602 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.2879, allocations: 23.92 kB / 0.7602 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.2894, allocations: 399.7 kB / 0.7606 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.672e-05/0.2894, allocations: 19.94 kB / 0.7606 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.2917, allocations: 254.2 kB / 0.7608 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.2918, allocations: 87.97 kB / 0.7609 GB, free: 0.6602 MB / 0.545 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 (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.001181/0.293, allocations: 0.7087 MB / 0.7616 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/0.2934, allocations: 213 kB / 0.7618 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.2959, allocations: 0.9049 MB / 0.7627 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2959, allocations: 3.938 kB / 0.7627 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2959, allocations: 4 kB / 0.7627 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2959, allocations: 0 / 0.7627 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.2976, allocations: 1.229 MB / 0.7639 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2976, allocations: 0 / 0.7639 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/0.2983, allocations: 139.8 kB / 0.764 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2983, allocations: 4 kB / 0.764 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.2983, allocations: 12 kB / 0.7641 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.2983, allocations: 3.984 kB / 0.7641 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2983, allocations: 0 / 0.7641 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.3005, allocations: 0.9864 MB / 0.765 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005796/0.3011, allocations: 389.8 kB / 0.7654 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.3014, allocations: 12 kB / 0.7654 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.3024, allocations: 99.88 kB / 0.7655 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.3025, allocations: 23.97 kB / 0.7655 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.3025, allocations: 23.98 kB / 0.7655 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002747/0.3053, allocations: 2.039 MB / 0.7675 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.943e-06/0.3053, allocations: 4 kB / 0.7675 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002482/0.3078, allocations: 0.9099 MB / 0.7684 GB, free: 8.848 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 (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.0008869/0.3087, allocations: 402.7 kB / 0.7688 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00618/0.3149, allocations: 3.523 MB / 0.7723 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3149, allocations: 1.75 kB / 0.7723 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009667/0.3159, allocations: 343.4 kB / 0.7726 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/0.3198, allocations: 0.8411 MB / 0.7734 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3285/0.6483, allocations: 5.498 MB / 0.7788 GB, free: 88.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.6499, allocations: 1.637 MB / 0.7804 GB, free: 87.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002727/0.6527, allocations: 0.681 MB / 0.781 GB, free: 87.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/0.6532, allocations: 157 kB / 0.7812 GB, free: 87.32 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.6532, allocations: 0.8438 kB / 0.7812 GB, free: 87.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.06209/0.7153, allocations: 41.98 MB / 0.8222 GB, free: 67 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)