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.007038/0.007038, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001166/0.001166, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 271.2 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9237/0.9237, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 95.84 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1542, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005592/0.1599, allocations: 4.88 MB / 0.7712 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3539/0.5138, allocations: 5.615 MB / 0.7766 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006187/0.5144, allocations: 24.69 kB / 0.7767 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003038/0.5175, allocations: 1.289 MB / 0.7779 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002039/0.5195, allocations: 1.306 MB / 0.7792 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.5224, allocations: 1.541 MB / 0.7807 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02349/0.5459, allocations: 14.67 MB / 0.795 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.5465, allocations: 170 kB / 0.7952 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.5485, allocations: 0.8108 MB / 0.796 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.5501, allocations: 0.7876 MB / 0.7968 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004598/0.5506, allocations: 92.16 kB / 0.7968 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.5528, allocations: 0.8951 MB / 0.7977 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.554, allocations: 0.9203 MB / 0.7986 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.555, allocations: 1.032 MB / 0.7996 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.5584, allocations: 3.021 MB / 0.8026 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5584, allocations: 4 kB / 0.8026 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5584, allocations: 1.156 kB / 0.8026 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.5584, allocations: 0 / 0.8026 GB, free: 1.582 MB / 0.5606 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.004041/0.5625, allocations: 2.675 MB / 0.8052 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.5625, allocations: 13.62 kB / 0.8052 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/0.5655, allocations: 0.5884 MB / 0.8058 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004885/0.5704, allocations: 2.947 MB / 0.8087 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.5705, allocations: 35.88 kB / 0.8087 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.5706, allocations: 47.89 kB / 0.8087 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.5722, allocations: 0.6862 MB / 0.8094 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5722, allocations: 4.625 kB / 0.8094 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.5723, allocations: 14.47 kB / 0.8094 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.5723, allocations: 7.406 kB / 0.8094 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.5743, allocations: 0.6443 MB / 0.8101 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004575/0.5789, allocations: 2.745 MB / 0.8127 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.5811, allocations: 0.7746 MB / 0.8135 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009511/0.5821, allocations: 320.5 kB / 0.8138 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.5821, allocations: 5.031 kB / 0.8138 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.5821, allocations: 39.34 kB / 0.8138 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.5821, allocations: 2.156 kB / 0.8138 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.003523/0.5857, allocations: 1.179 MB / 0.815 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.5857, allocations: 55.5 kB / 0.8151 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004702/0.5904, allocations: 3.205 MB / 0.8182 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.682e-05/0.5905, allocations: 43.81 kB / 0.8182 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007128/0.5913, allocations: 0.8078 MB / 0.819 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.5914, allocations: 142.5 kB / 0.8191 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007949/0.5922, allocations: 0.57 MB / 0.8197 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5923, allocations: 302.2 kB / 0.82 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.5944, allocations: 1.255 MB / 0.8212 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/0.5969, allocations: 1.728 MB / 0.8229 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.6012, allocations: 2.612 MB / 0.8255 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.6012, allocations: 6.438 kB / 0.8255 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005415/0.6067, allocations: 3.306 MB / 0.8287 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.6067, allocations: 13.31 kB / 0.8287 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.6067, allocations: 12 kB / 0.8287 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.6068, allocations: 16 kB / 0.8287 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.6083, allocations: 411.6 kB / 0.8291 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/0.6083, allocations: 23.92 kB / 0.8291 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/0.6106, allocations: 320.1 kB / 0.8294 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.6107, allocations: 99.97 kB / 0.8295 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002752/0.6135, allocations: 1.727 MB / 0.8312 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002382/0.6159, allocations: 1.659 MB / 0.8329 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003847/0.6198, allocations: 2.464 MB / 0.8353 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.464e-06/0.6198, allocations: 4 kB / 0.8353 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.005336/0.6251, allocations: 3.138 MB / 0.8383 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6251, allocations: 10.03 kB / 0.8383 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6252, allocations: 12 kB / 0.8383 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.6252, allocations: 16 kB / 0.8384 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.6267, allocations: 403.6 kB / 0.8387 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/0.6267, allocations: 23.92 kB / 0.8388 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.6289, allocations: 274.7 kB / 0.839 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.6291, allocations: 91.97 kB / 0.8391 GB, free: 7.23 MB / 0.5919 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.0004018/0.6295, allocations: 264.4 kB / 0.8394 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.6298, allocations: 217 kB / 0.8396 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.6324, allocations: 0.9146 MB / 0.8405 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.6324, allocations: 6.672 kB / 0.8405 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6324, allocations: 0 / 0.8405 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.6325, allocations: 11.98 kB / 0.8405 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.6344, allocations: 1.284 MB / 0.8417 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6344, allocations: 0 / 0.8417 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.6351, allocations: 131.8 kB / 0.8419 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.6352, allocations: 4 kB / 0.8419 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.6352, allocations: 11.94 kB / 0.8419 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6352, allocations: 3.938 kB / 0.8419 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6352, allocations: 0 / 0.8419 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.6374, allocations: 0.9982 MB / 0.8429 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006599/0.6381, allocations: 405.8 kB / 0.8433 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.6383, allocations: 4 kB / 0.8433 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.6395, allocations: 115.9 kB / 0.8434 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.6395, allocations: 19.97 kB / 0.8434 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.6396, allocations: 23.98 kB / 0.8434 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00314/0.6428, allocations: 2.117 MB / 0.8455 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6428, allocations: 0 / 0.8455 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002915/0.6457, allocations: 0.9217 MB / 0.8464 GB, free: 15.7 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.0009318/0.6466, allocations: 415.4 kB / 0.8468 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0063/0.6529, allocations: 3.547 MB / 0.8502 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.653, allocations: 0 / 0.8502 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009771/0.6539, allocations: 353.3 kB / 0.8506 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003532/0.6575, allocations: 0.9361 MB / 0.8515 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.671, allocations: 4.629 MB / 0.856 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.6724, allocations: 1.65 MB / 0.8576 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002467/0.6749, allocations: 0.6781 MB / 0.8583 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.6754, allocations: 163.4 kB / 0.8584 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.024e-06/0.6754, allocations: 0 / 0.8584 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of Templates: time 0.07301/0.7484, allocations: 44.78 MB / 0.9022 GB, free: 7.203 MB / 0.6544 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)