Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001531/0.001531, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001382/0.001382, allocations: 197.6 kB / 16.14 MB, free: 6.688 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.49/1.49, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.48 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3123, allocations: 159.9 MB / 1.068 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005376/0.3177, allocations: 4.886 MB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008285/0.3261, allocations: 5.745 MB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006704/0.3268, allocations: 19.94 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01697/0.3438, allocations: 11.16 MB / 1.089 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.3466, allocations: 1.137 MB / 1.09 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.3497, allocations: 1.4 MB / 1.091 GB, free: 2.578 MB / 0.8419 GB [/var/lib/jenkins/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.02372/0.3734, allocations: 15.85 MB / 1.107 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006344/0.3741, allocations: 164.4 kB / 1.107 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.3757, allocations: 0.677 MB / 1.108 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.3771, allocations: 0.8324 MB / 1.108 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003716/0.3775, allocations: 48 kB / 1.108 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.3795, allocations: 0.8811 MB / 1.109 GB, free: 92 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009958/0.3805, allocations: 0.888 MB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.3819, allocations: 0.9628 MB / 1.111 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003245/0.3851, allocations: 2.9 MB / 1.114 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3852, allocations: 0 / 1.114 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3852, allocations: 3.984 kB / 1.114 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.749e-05/0.3852, allocations: 0 / 1.114 GB, free: 11.32 MB / 0.8731 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.004318/0.3896, allocations: 2.634 MB / 1.117 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3896, allocations: 8.031 kB / 1.117 GB, free: 8.605 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.3928, allocations: 0.6019 MB / 1.117 GB, free: 8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/0.3972, allocations: 2.895 MB / 1.12 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.3973, allocations: 52.95 kB / 1.12 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3974, allocations: 44 kB / 1.12 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.399, allocations: 0.6695 MB / 1.121 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.399, allocations: 0 / 1.121 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.399, allocations: 16 kB / 1.121 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.3991, allocations: 8 kB / 1.121 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.401, allocations: 0.6153 MB / 1.121 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/0.4053, allocations: 2.635 MB / 1.124 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.4075, allocations: 0.7456 MB / 1.125 GB, free: 172 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008944/0.4084, allocations: 301.2 kB / 1.125 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.4084, allocations: 12.27 kB / 1.125 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.4084, allocations: 38.84 kB / 1.125 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.4084, allocations: 0 / 1.125 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.003155/0.4116, allocations: 1.133 MB / 1.126 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.4117, allocations: 55.41 kB / 1.126 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003992/0.4157, allocations: 3.128 MB / 1.129 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.129e-05/0.4158, allocations: 41.7 kB / 1.129 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007112/0.4165, allocations: 0.803 MB / 1.13 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.4166, allocations: 134.3 kB / 1.13 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007189/0.4173, allocations: 0.5753 MB / 1.131 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.4174, allocations: 309.1 kB / 1.131 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/0.4194, allocations: 1.244 MB / 1.132 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.4218, allocations: 1.698 MB / 1.134 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/0.4254, allocations: 2.581 MB / 1.136 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.4254, allocations: 4 kB / 1.136 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004919/0.4304, allocations: 3.271 MB / 1.14 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4304, allocations: 8 kB / 1.14 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.4304, allocations: 8 kB / 1.14 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.4305, allocations: 20.19 kB / 1.14 GB, free: 476 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4319, allocations: 407.5 kB / 1.14 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.432e-05/0.432, allocations: 23.94 kB / 1.14 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.4337, allocations: 305.9 kB / 1.14 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.4338, allocations: 104 kB / 1.14 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002519/0.4364, allocations: 1.711 MB / 1.142 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002135/0.4385, allocations: 1.636 MB / 1.144 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003537/0.4421, allocations: 2.436 MB / 1.146 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.894e-06/0.4421, allocations: 0 / 1.146 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.004773/0.4469, allocations: 3.109 MB / 1.149 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4469, allocations: 8 kB / 1.149 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.4469, allocations: 8 kB / 1.149 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4469, allocations: 16 kB / 1.149 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.4483, allocations: 399.6 kB / 1.149 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.766e-05/0.4484, allocations: 23.92 kB / 1.15 GB, free: 6.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.4502, allocations: 254.6 kB / 1.15 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.4503, allocations: 99.95 kB / 1.15 GB, free: 5.668 MB / 0.9044 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.0003367/0.4507, allocations: 261 kB / 1.15 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.451, allocations: 216.9 kB / 1.15 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.4534, allocations: 0.8849 MB / 1.151 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.4534, allocations: 4 kB / 1.151 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4534, allocations: 0 / 1.151 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4535, allocations: 3.938 kB / 1.151 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.4551, allocations: 1.225 MB / 1.152 GB, free: 3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4551, allocations: 0 / 1.152 GB, free: 3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007057/0.4558, allocations: 127.8 kB / 1.153 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.4558, allocations: 8 kB / 1.153 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.4558, allocations: 11.98 kB / 1.153 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4559, allocations: 0 / 1.153 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4559, allocations: 3.938 kB / 1.153 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.458, allocations: 0.9709 MB / 1.153 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/0.4586, allocations: 393.8 kB / 1.154 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/0.4589, allocations: 8 kB / 1.154 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.46, allocations: 99.88 kB / 1.154 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.4601, allocations: 23.97 kB / 1.154 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.4601, allocations: 27.92 kB / 1.154 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002913/0.463, allocations: 2.043 MB / 1.156 GB, free: 15.25 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4631, allocations: 0 / 1.156 GB, free: 15.25 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002532/0.4656, allocations: 0.9059 MB / 1.157 GB, free: 14.35 MB / 0.92 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.0009732/0.4666, allocations: 406.7 kB / 1.157 GB, free: 13.94 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006143/0.4727, allocations: 3.499 MB / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4728, allocations: 1.75 kB / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009336/0.4737, allocations: 339.7 kB / 1.161 GB, free: 10.11 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/0.4774, allocations: 0.8411 MB / 1.162 GB, free: 9.285 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.4939, allocations: 5.448 MB / 1.167 GB, free: 3.801 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.4957, allocations: 1.638 MB / 1.169 GB, free: 2.129 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00282/0.4985, allocations: 0.6753 MB / 1.169 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006805/0.4992, allocations: 155.4 kB / 1.17 GB, free: 1.297 MB / 0.92 GB Notification: Performance of SimCode: time 1.162e-06/0.4992, allocations: 0 / 1.17 GB, free: 1.297 MB / 0.92 GB Notification: Performance of Templates: time 0.07229/0.5715, allocations: 42.3 MB / 1.211 GB, free: 7.461 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)