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.001308/0.001308, allocations: 104.9 kB / 16.4 MB, free: 6.504 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.001288/0.001288, allocations: 188 kB / 17.34 MB, free: 5.734 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 287.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 169.3 MB / 0.499 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002898/0.002898, allocations: 99.84 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4338, allocations: 86.96 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006632/0.4404, allocations: 4.9 MB / 0.7718 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.451, allocations: 5.628 MB / 0.7773 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00099/0.452, allocations: 27.88 kB / 0.7774 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.4556, allocations: 1.296 MB / 0.7786 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.4586, allocations: 1.304 MB / 0.7799 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.4619, allocations: 1.55 MB / 0.7814 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02167/0.4836, allocations: 14.73 MB / 0.7958 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.484, allocations: 100.4 kB / 0.7959 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.4854, allocations: 0.8214 MB / 0.7967 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000993/0.4863, allocations: 0.7935 MB / 0.7975 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.4865, allocations: 92 kB / 0.7976 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.4882, allocations: 0.8969 MB / 0.7984 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008761/0.489, allocations: 0.9269 MB / 0.7993 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.4901, allocations: 1.033 MB / 0.8003 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.4937, allocations: 3.027 MB / 0.8033 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4937, allocations: 0 / 0.8033 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4937, allocations: 0 / 0.8033 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.303e-05/0.4937, allocations: 0 / 0.8033 GB, free: 14.64 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.005053/0.4988, allocations: 2.769 MB / 0.806 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4988, allocations: 8.031 kB / 0.806 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/0.5022, allocations: 0.6034 MB / 0.8066 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005251/0.5074, allocations: 2.975 MB / 0.8095 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.5075, allocations: 36.59 kB / 0.8095 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.5076, allocations: 48 kB / 0.8096 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.5094, allocations: 0.6812 MB / 0.8103 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5094, allocations: 0 / 0.8103 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/0.5095, allocations: 12 kB / 0.8103 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5095, allocations: 8 kB / 0.8103 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.5118, allocations: 0.6466 MB / 0.8109 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.5173, allocations: 2.76 MB / 0.8136 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.5198, allocations: 0.7377 MB / 0.8143 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.5209, allocations: 308.7 kB / 0.8146 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.521, allocations: 4 kB / 0.8146 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.521, allocations: 38.56 kB / 0.8147 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.521, allocations: 0 / 0.8147 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.003961/0.5249, allocations: 1.191 MB / 0.8158 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.525, allocations: 55.41 kB / 0.8159 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004924/0.5299, allocations: 3.214 MB / 0.819 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.5301, allocations: 41.61 kB / 0.8191 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000843/0.5309, allocations: 0.8108 MB / 0.8198 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.5311, allocations: 154.9 kB / 0.82 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000822/0.5319, allocations: 0.5679 MB / 0.8205 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5321, allocations: 309.1 kB / 0.8208 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/0.5344, allocations: 1.248 MB / 0.8221 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002829/0.5373, allocations: 1.731 MB / 0.8237 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004543/0.5418, allocations: 2.612 MB / 0.8263 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.5418, allocations: 4 kB / 0.8263 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006333/0.5481, allocations: 3.324 MB / 0.8296 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.5482, allocations: 10.75 kB / 0.8296 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.5482, allocations: 15.88 kB / 0.8296 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.5482, allocations: 16 kB / 0.8296 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.5499, allocations: 411.6 kB / 0.83 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/0.5499, allocations: 23.92 kB / 0.83 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.5521, allocations: 323.3 kB / 0.8303 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.5523, allocations: 99.97 kB / 0.8304 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003142/0.5554, allocations: 1.736 MB / 0.8321 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002782/0.5582, allocations: 1.651 MB / 0.8337 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004491/0.5627, allocations: 2.46 MB / 0.8361 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.084e-06/0.5627, allocations: 0 / 0.8361 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005971/0.5686, allocations: 3.152 MB / 0.8392 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.5687, allocations: 8 kB / 0.8392 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.5687, allocations: 8 kB / 0.8392 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.5687, allocations: 16 kB / 0.8392 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.5704, allocations: 403.6 kB / 0.8396 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.412e-05/0.5704, allocations: 23.92 kB / 0.8396 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.5729, allocations: 275.1 kB / 0.8399 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.573, allocations: 95.97 kB / 0.84 GB, free: 8.207 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.000395/0.5734, allocations: 263.7 kB / 0.8402 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/0.5738, allocations: 230.3 kB / 0.8405 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.5766, allocations: 0.9116 MB / 0.8414 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.5766, allocations: 4 kB / 0.8414 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5766, allocations: 0 / 0.8414 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.5766, allocations: 3.984 kB / 0.8414 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.5784, allocations: 1.288 MB / 0.8426 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5784, allocations: 4 kB / 0.8426 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/0.5792, allocations: 131.8 kB / 0.8427 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5792, allocations: 0 / 0.8427 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.5793, allocations: 16 kB / 0.8428 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5793, allocations: 3.938 kB / 0.8428 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5793, allocations: 0 / 0.8428 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.5818, allocations: 1.013 MB / 0.8438 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007781/0.5826, allocations: 423.2 kB / 0.8442 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.5828, allocations: 8 kB / 0.8442 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.584, allocations: 107.9 kB / 0.8443 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.5841, allocations: 31.91 kB / 0.8443 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.5842, allocations: 23.98 kB / 0.8443 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00326/0.5874, allocations: 2.117 MB / 0.8464 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5874, allocations: 0 / 0.8464 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002517/0.59, allocations: 0.9252 MB / 0.8473 GB, free: 0.6211 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.0009518/0.5909, allocations: 415.2 kB / 0.8477 GB, free: 212 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006523/0.5974, allocations: 3.219 MB / 0.8508 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5974, allocations: 0 / 0.8508 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.5985, allocations: 336.3 kB / 0.8512 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003611/0.6021, allocations: 0.9348 MB / 0.8521 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.6162, allocations: 4.692 MB / 0.8567 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.6177, allocations: 1.646 MB / 0.8583 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002291/0.62, allocations: 0.6788 MB / 0.8589 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005137/0.6205, allocations: 159.4 kB / 0.8591 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/0.6205, allocations: 0 / 0.8591 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of Templates: time 0.0769/0.6974, allocations: 44.94 MB / 0.903 GB, free: 8.141 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)