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.007679/0.007679, allocations: 99.62 kB / 15.73 MB, free: 6.043 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.002105/0.002105, allocations: 191.7 kB / 16.67 MB, free: 5.957 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 278.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.946/0.946, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 95.84 kB / 0.6814 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4236, allocations: 86.98 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005787/0.4294, allocations: 4.886 MB / 0.7712 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009975/0.4394, allocations: 5.623 MB / 0.7767 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.4407, allocations: 23.94 kB / 0.7767 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003437/0.4441, allocations: 1.277 MB / 0.7779 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.447, allocations: 1.314 MB / 0.7792 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.4504, allocations: 1.539 MB / 0.7807 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02003/0.4704, allocations: 14.67 MB / 0.795 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.4709, allocations: 168.4 kB / 0.7952 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.4724, allocations: 0.8098 MB / 0.796 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.4737, allocations: 0.7935 MB / 0.7968 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003819/0.4741, allocations: 92 kB / 0.7969 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.4759, allocations: 0.8969 MB / 0.7977 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.4771, allocations: 0.9154 MB / 0.7986 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.479, allocations: 1.033 MB / 0.7996 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.4831, allocations: 3.021 MB / 0.8026 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4832, allocations: 0 / 0.8026 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4832, allocations: 0 / 0.8026 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.125e-05/0.4833, allocations: 0 / 0.8026 GB, free: 14.75 MB / 0.5762 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.005787/0.489, allocations: 2.669 MB / 0.8052 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4891, allocations: 16.03 kB / 0.8052 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/0.4924, allocations: 0.5941 MB / 0.8058 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/0.4975, allocations: 2.946 MB / 0.8087 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.4976, allocations: 40.59 kB / 0.8087 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.4979, allocations: 44 kB / 0.8087 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.4997, allocations: 0.689 MB / 0.8094 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4998, allocations: 4 kB / 0.8094 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.4998, allocations: 15.94 kB / 0.8094 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.4999, allocations: 8 kB / 0.8094 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.5021, allocations: 0.631 MB / 0.8101 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005983/0.5081, allocations: 2.759 MB / 0.8127 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.5104, allocations: 0.765 MB / 0.8135 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.5115, allocations: 320.6 kB / 0.8138 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.5115, allocations: 7.984 kB / 0.8138 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.5115, allocations: 38.56 kB / 0.8138 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.865e-06/0.5116, allocations: 0 / 0.8138 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.003831/0.5154, allocations: 1.179 MB / 0.815 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.5154, allocations: 55.41 kB / 0.815 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005463/0.5209, allocations: 3.21 MB / 0.8182 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.5211, allocations: 41.7 kB / 0.8182 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008596/0.522, allocations: 0.8024 MB / 0.819 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.5222, allocations: 142.2 kB / 0.8191 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009017/0.5231, allocations: 0.5715 MB / 0.8197 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.5232, allocations: 305.1 kB / 0.82 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.5255, allocations: 1.256 MB / 0.8212 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/0.5281, allocations: 1.719 MB / 0.8229 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004125/0.5322, allocations: 2.62 MB / 0.8255 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.5322, allocations: 7.938 kB / 0.8255 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005746/0.538, allocations: 3.311 MB / 0.8287 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.538, allocations: 8 kB / 0.8287 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.5381, allocations: 8 kB / 0.8287 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/0.5381, allocations: 16 kB / 0.8287 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.5397, allocations: 411.6 kB / 0.8291 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.911e-05/0.5398, allocations: 19.94 kB / 0.8291 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.5421, allocations: 315.1 kB / 0.8294 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.5423, allocations: 107.9 kB / 0.8295 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002883/0.5452, allocations: 1.734 MB / 0.8312 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002422/0.5476, allocations: 1.647 MB / 0.8328 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003838/0.5515, allocations: 2.456 MB / 0.8352 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.038e-05/0.5515, allocations: 4 kB / 0.8352 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005465/0.557, allocations: 3.135 MB / 0.8383 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.557, allocations: 8 kB / 0.8383 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.557, allocations: 8 kB / 0.8383 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.5571, allocations: 19.98 kB / 0.8383 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.5587, allocations: 407.8 kB / 0.8387 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.495e-05/0.5587, allocations: 23.92 kB / 0.8388 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.5611, allocations: 279 kB / 0.839 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/0.5613, allocations: 103.9 kB / 0.8391 GB, free: 8.465 MB / 0.6075 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 (209): * Single equations (assignments): 201 * 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.0003989/0.5617, allocations: 263.7 kB / 0.8394 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008718/0.5626, allocations: 213 kB / 0.8396 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.5658, allocations: 0.9114 MB / 0.8405 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.5658, allocations: 4 kB / 0.8405 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5659, allocations: 7.984 kB / 0.8405 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.5659, allocations: 3.984 kB / 0.8405 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.5684, allocations: 1.272 MB / 0.8417 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5684, allocations: 3.938 kB / 0.8417 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/0.5692, allocations: 131.9 kB / 0.8419 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.5692, allocations: 3.938 kB / 0.8419 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.5692, allocations: 11.98 kB / 0.8419 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.5692, allocations: 4 kB / 0.8419 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5692, allocations: 0 / 0.8419 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.5717, allocations: 0.9962 MB / 0.8428 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/0.5725, allocations: 409.8 kB / 0.8432 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000423/0.573, allocations: 8 kB / 0.8432 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.5744, allocations: 111.9 kB / 0.8433 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.5744, allocations: 27.91 kB / 0.8434 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.5745, allocations: 23.98 kB / 0.8434 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003444/0.578, allocations: 2.113 MB / 0.8455 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.578, allocations: 0 / 0.8455 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002591/0.5806, allocations: 0.9217 MB / 0.8464 GB, free: 0.9336 MB / 0.6075 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 (39): * Single equations (assignments): 39 * 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.0009907/0.5816, allocations: 419.6 kB / 0.8468 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006204/0.5878, allocations: 3.547 MB / 0.8502 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5878, allocations: 1.75 kB / 0.8502 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.5888, allocations: 351.7 kB / 0.8506 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/0.5926, allocations: 0.9322 MB / 0.8515 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.6061, allocations: 4.641 MB / 0.856 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.6076, allocations: 1.638 MB / 0.8576 GB, free: 5.379 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002277/0.6099, allocations: 0.6756 MB / 0.8583 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005879/0.6105, allocations: 163.3 kB / 0.8584 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.6105, allocations: 0 / 0.8584 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of Templates: time 0.06676/0.6772, allocations: 44.78 MB / 0.9021 GB, free: 8.336 MB / 0.67 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)