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.001011/0.00101, allocations: 98.03 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.008158/0.008158, allocations: 169.7 kB / 16.27 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003632, allocations: 11.16 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3103, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005076/0.3154, allocations: 4.489 MB / 1.079 GB, free: 3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009408/0.3249, allocations: 5.675 MB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.3259, allocations: 15.94 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01746/0.3434, allocations: 11.15 MB / 1.095 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003468/0.3469, allocations: 1.147 MB / 1.096 GB, free: 0.9844 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.3502, allocations: 1.404 MB / 1.097 GB, free: 15.58 MB / 0.8575 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.02209/0.3723, allocations: 15.84 MB / 1.113 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004726/0.3728, allocations: 162 kB / 1.113 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.3742, allocations: 0.673 MB / 1.114 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.3755, allocations: 0.8207 MB / 1.115 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.3757, allocations: 40 kB / 1.115 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.3777, allocations: 0.8734 MB / 1.115 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.3787, allocations: 0.8802 MB / 1.116 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.3798, allocations: 0.984 MB / 1.117 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003553/0.3833, allocations: 2.856 MB / 1.12 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3834, allocations: 0 / 1.12 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3834, allocations: 0 / 1.12 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.948e-05/0.3834, allocations: 0 / 1.12 GB, free: 8.387 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.004115/0.3875, allocations: 2.324 MB / 1.122 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3876, allocations: 8.031 kB / 1.122 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/0.3907, allocations: 0.6019 MB / 1.123 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/0.3956, allocations: 2.876 MB / 1.126 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.3958, allocations: 56.94 kB / 1.126 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.3959, allocations: 44 kB / 1.126 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.3975, allocations: 0.6734 MB / 1.126 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3976, allocations: 0 / 1.126 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/0.3976, allocations: 15.94 kB / 1.126 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.3976, allocations: 12 kB / 1.126 GB, free: 1.637 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.3996, allocations: 0.6193 MB / 1.127 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.4046, allocations: 2.639 MB / 1.13 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.4069, allocations: 0.758 MB / 1.13 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009608/0.4079, allocations: 309.9 kB / 1.131 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.4079, allocations: 8.266 kB / 1.131 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.4079, allocations: 34.84 kB / 1.131 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 4.378e-06/0.408, allocations: 0 / 1.131 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.00343/0.4114, allocations: 1.164 MB / 1.132 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.4114, allocations: 55.41 kB / 1.132 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004383/0.4158, allocations: 3.112 MB / 1.135 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.416, allocations: 41.7 kB / 1.135 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007632/0.4168, allocations: 0.8101 MB / 1.136 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4169, allocations: 134.4 kB / 1.136 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003786/0.4173, allocations: 323.8 kB / 1.136 GB, free: 7.5 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4174, allocations: 305.1 kB / 1.137 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.4195, allocations: 1.234 MB / 1.138 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002438/0.4219, allocations: 1.714 MB / 1.139 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/0.426, allocations: 2.593 MB / 1.142 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.426, allocations: 0 / 1.142 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00561/0.4317, allocations: 3.291 MB / 1.145 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002553/0.4319, allocations: 362.3 kB / 1.146 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.432, allocations: 8 kB / 1.146 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.432, allocations: 23.94 kB / 1.146 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.4335, allocations: 411.5 kB / 1.146 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.4336, allocations: 19.94 kB / 1.146 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.4357, allocations: 313.4 kB / 1.146 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.4359, allocations: 99.97 kB / 1.146 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.436, allocations: 4.094 kB / 1.146 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00498/0.4409, allocations: 2.903 MB / 1.149 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.441, allocations: 8 kB / 1.149 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.441, allocations: 16 kB / 1.149 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.4425, allocations: 403.6 kB / 1.15 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.864e-05/0.4426, allocations: 27.92 kB / 1.15 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4444, allocations: 246.4 kB / 1.15 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.4446, allocations: 91.97 kB / 1.15 GB, free: 9.059 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.001182/0.4458, allocations: 0.7117 MB / 1.151 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/0.4463, allocations: 213 kB / 1.151 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.4491, allocations: 0.908 MB / 1.152 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4492, allocations: 4 kB / 1.152 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4492, allocations: 7.938 kB / 1.152 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4492, allocations: 0 / 1.152 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.4513, allocations: 1.213 MB / 1.153 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4513, allocations: 0 / 1.153 GB, free: 5.922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/0.4521, allocations: 131.8 kB / 1.153 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.4521, allocations: 0 / 1.153 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.4521, allocations: 19.98 kB / 1.153 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4521, allocations: 0 / 1.153 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4522, allocations: 0 / 1.153 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.4546, allocations: 0.9825 MB / 1.154 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008967/0.4555, allocations: 397.8 kB / 1.154 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/0.456, allocations: 12 kB / 1.154 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/0.4572, allocations: 99.88 kB / 1.155 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/0.4573, allocations: 27.95 kB / 1.155 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.4573, allocations: 20 kB / 1.155 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003323/0.4607, allocations: 2.046 MB / 1.157 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.623e-06/0.4607, allocations: 0 / 1.157 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002723/0.4634, allocations: 0.902 MB / 1.157 GB, free: 1.254 MB / 0.9044 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.0009423/0.4644, allocations: 410.8 kB / 1.158 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006401/0.4708, allocations: 3.517 MB / 1.161 GB, free: 13.33 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4708, allocations: 0 / 1.161 GB, free: 13.33 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.4718, allocations: 349.3 kB / 1.162 GB, free: 12.99 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/0.4758, allocations: 0.8316 MB / 1.162 GB, free: 12.17 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/0.4945, allocations: 5.5 MB / 1.168 GB, free: 6.633 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.4965, allocations: 1.65 MB / 1.169 GB, free: 4.949 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002908/0.4994, allocations: 0.6636 MB / 1.17 GB, free: 4.281 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006713/0.5001, allocations: 163.4 kB / 1.17 GB, free: 4.121 MB / 0.92 GB Notification: Performance of SimCode: time 1.333e-06/0.5001, allocations: 0 / 1.17 GB, free: 4.121 MB / 0.92 GB Notification: Performance of Templates: time 0.07461/0.5747, allocations: 41.95 MB / 1.211 GB, free: 10.64 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)