Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.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.TotalEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004516/0.004516, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.0012/0.0012, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 282.7 kB / 290.8 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9455/0.9455, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 95.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1794, allocations: 86.97 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.006926/0.1864, allocations: 4.91 MB / 0.7712 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4055/0.5919, allocations: 5.616 MB / 0.7767 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009058/0.5929, allocations: 26.56 kB / 0.7767 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.5962, allocations: 1.287 MB / 0.778 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.5987, allocations: 1.318 MB / 0.7792 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.6026, allocations: 1.538 MB / 0.7808 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02679/0.6294, allocations: 17.07 MB / 0.7974 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004666/0.6298, allocations: 174.4 kB / 0.7976 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/0.6317, allocations: 0.8261 MB / 0.7984 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.6333, allocations: 0.8053 MB / 0.7992 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004411/0.6338, allocations: 94.53 kB / 0.7993 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.6361, allocations: 0.9279 MB / 0.8002 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.6374, allocations: 0.945 MB / 0.8011 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002133/0.6395, allocations: 1.076 MB / 0.8021 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003896/0.6434, allocations: 3.189 MB / 0.8053 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6434, allocations: 3.984 kB / 0.8053 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6434, allocations: 1.25 kB / 0.8053 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.964e-05/0.6435, allocations: 0 / 0.8053 GB, free: 0.5117 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.004991/0.6485, allocations: 2.74 MB / 0.8079 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.6485, allocations: 8.594 kB / 0.808 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005185/0.6537, allocations: 0.9404 MB / 0.8089 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006562/0.6603, allocations: 4.308 MB / 0.8131 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.6604, allocations: 36.03 kB / 0.8131 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.6605, allocations: 47.91 kB / 0.8132 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.6628, allocations: 0.9411 MB / 0.8141 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.6629, allocations: 0 / 0.8141 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.6629, allocations: 14.44 kB / 0.8141 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.663, allocations: 6.906 kB / 0.8141 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/0.6662, allocations: 1.034 MB / 0.8151 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006849/0.6731, allocations: 3.104 MB / 0.8181 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0033/0.6764, allocations: 1.109 MB / 0.8192 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.6777, allocations: 444.4 kB / 0.8196 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.251e-05/0.6778, allocations: 19.34 kB / 0.8197 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.6778, allocations: 34.41 kB / 0.8197 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.585e-06/0.6778, allocations: 0 / 0.8197 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.004962/0.6828, allocations: 1.557 MB / 0.8212 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.6829, allocations: 54.53 kB / 0.8213 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005445/0.6883, allocations: 3.342 MB / 0.8245 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.6885, allocations: 41.98 kB / 0.8246 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007218/0.6892, allocations: 0.8149 MB / 0.8254 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.6894, allocations: 143.3 kB / 0.8255 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007988/0.6902, allocations: 0.5739 MB / 0.8261 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6903, allocations: 305.1 kB / 0.8264 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/0.693, allocations: 1.493 MB / 0.8278 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002995/0.696, allocations: 1.954 MB / 0.8297 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/0.7009, allocations: 3.09 MB / 0.8327 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.701, allocations: 4 kB / 0.8327 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006783/0.7078, allocations: 3.79 MB / 0.8364 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.7078, allocations: 8 kB / 0.8365 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.7078, allocations: 8 kB / 0.8365 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.7079, allocations: 16 kB / 0.8365 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.7097, allocations: 447.5 kB / 0.8369 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.597e-05/0.7097, allocations: 23.92 kB / 0.8369 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/0.7124, allocations: 342.8 kB / 0.8373 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.7125, allocations: 95.95 kB / 0.8373 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003331/0.7159, allocations: 1.904 MB / 0.8392 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002756/0.7187, allocations: 1.809 MB / 0.841 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004508/0.7232, allocations: 2.796 MB / 0.8437 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.697e-06/0.7232, allocations: 4 kB / 0.8437 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006582/0.7298, allocations: 3.484 MB / 0.8471 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.7298, allocations: 10.34 kB / 0.8471 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.7298, allocations: 8 kB / 0.8471 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7299, allocations: 20.17 kB / 0.8471 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.7315, allocations: 439.4 kB / 0.8476 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.7316, allocations: 27.92 kB / 0.8476 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/0.7342, allocations: 293.4 kB / 0.8479 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.7344, allocations: 99.95 kB / 0.848 GB, free: 14.26 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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.000392/0.7348, allocations: 260.4 kB / 0.8482 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.7352, allocations: 216.9 kB / 0.8484 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.7385, allocations: 1.173 MB / 0.8496 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7385, allocations: 4 kB / 0.8496 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7385, allocations: 0.5 kB / 0.8496 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.7386, allocations: 0 / 0.8496 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.7405, allocations: 1.356 MB / 0.8509 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7405, allocations: 4 kB / 0.8509 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/0.7414, allocations: 176.8 kB / 0.8511 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7414, allocations: 0 / 0.8511 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.7415, allocations: 11.98 kB / 0.8511 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.249e-05/0.7415, allocations: 4 kB / 0.8511 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7415, allocations: 0 / 0.8511 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.7445, allocations: 1.244 MB / 0.8523 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/0.7453, allocations: 461.6 kB / 0.8527 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.7456, allocations: 4 kB / 0.8527 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.7469, allocations: 141.2 kB / 0.8529 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.747, allocations: 27.97 kB / 0.8529 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.747, allocations: 27.91 kB / 0.8529 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003204/0.7502, allocations: 2.223 MB / 0.8551 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7503, allocations: 0 / 0.8551 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003574/0.7538, allocations: 0.9328 MB / 0.856 GB, free: 5.922 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.001122/0.755, allocations: 413.3 kB / 0.8564 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008078/0.7631, allocations: 4.119 MB / 0.8604 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7631, allocations: 0 / 0.8604 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.7645, allocations: 480.6 kB / 0.8609 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/0.7685, allocations: 0.9445 MB / 0.8618 GB, free: 48 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02688/0.7954, allocations: 6.426 MB / 0.8681 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/0.7972, allocations: 1.652 MB / 0.8697 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003285/0.8005, allocations: 0.7475 MB / 0.8704 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007163/0.8012, allocations: 203.3 kB / 0.8706 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/0.8012, allocations: 0 / 0.8706 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of Templates: time 0.08171/0.8829, allocations: 47.24 MB / 0.9167 GB, free: 8.359 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1)