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.001532/0.001532, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001754/0.001754, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 280 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9382/0.9382, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002909/0.002909, allocations: 90.27 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1796, allocations: 86.98 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.005627/0.1852, allocations: 4.875 MB / 0.6864 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.2774/0.4627, allocations: 5.609 MB / 0.6918 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.4638, allocations: 29.75 kB / 0.6919 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0186/0.4824, allocations: 10.98 MB / 0.7026 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.4868, allocations: 1.226 MB / 0.7038 GB, free: 9.941 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004849/0.4917, allocations: 1.533 MB / 0.7053 GB, free: 9.391 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.03044/0.5222, allocations: 14.52 MB / 0.7195 GB, free: 4.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007881/0.523, allocations: 166.5 kB / 0.7196 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.5254, allocations: 0.7686 MB / 0.7204 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.5265, allocations: 0.7486 MB / 0.7211 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.5268, allocations: 87.78 kB / 0.7212 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.5291, allocations: 0.8876 MB / 0.722 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000946/0.53, allocations: 0.9018 MB / 0.7229 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5311, allocations: 1.019 MB / 0.7239 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003278/0.5344, allocations: 2.962 MB / 0.7268 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5344, allocations: 1.875 kB / 0.7268 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5344, allocations: 0 / 0.7268 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.273e-05/0.5345, allocations: 0 / 0.7268 GB, free: 15.62 MB / 0.4981 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.005727/0.5402, allocations: 2.629 MB / 0.7294 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5403, allocations: 8.25 kB / 0.7294 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004743/0.545, allocations: 0.5925 MB / 0.73 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007541/0.5526, allocations: 2.926 MB / 0.7328 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.5527, allocations: 28.66 kB / 0.7329 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.5528, allocations: 48 kB / 0.7329 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.5552, allocations: 0.6655 MB / 0.7336 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5552, allocations: 0 / 0.7336 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-05/0.5553, allocations: 15.98 kB / 0.7336 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.5554, allocations: 8 kB / 0.7336 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.558, allocations: 0.5958 MB / 0.7342 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007081/0.5651, allocations: 2.625 MB / 0.7367 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/0.5682, allocations: 0.7183 MB / 0.7374 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.5694, allocations: 301.4 kB / 0.7377 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.5694, allocations: 16.19 kB / 0.7377 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.5695, allocations: 38.84 kB / 0.7378 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/0.5695, allocations: 0 / 0.7378 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.004706/0.5742, allocations: 1.114 MB / 0.7388 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.5743, allocations: 55.41 kB / 0.7389 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006194/0.5805, allocations: 3.116 MB / 0.7419 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.5808, allocations: 41.7 kB / 0.742 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.5818, allocations: 0.8023 MB / 0.7428 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.582, allocations: 138.4 kB / 0.7429 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.5832, allocations: 0.5675 MB / 0.7435 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5833, allocations: 309.1 kB / 0.7437 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003152/0.5865, allocations: 1.226 MB / 0.7449 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003787/0.5903, allocations: 1.702 MB / 0.7466 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00623/0.5965, allocations: 2.57 MB / 0.7491 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.5966, allocations: 0 / 0.7491 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008772/0.6053, allocations: 3.261 MB / 0.7523 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.6054, allocations: 8 kB / 0.7523 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.6054, allocations: 11.8 kB / 0.7523 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.073e-05/0.6055, allocations: 20 kB / 0.7523 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/0.608, allocations: 399.6 kB / 0.7527 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.044e-05/0.6081, allocations: 25.48 kB / 0.7527 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/0.6114, allocations: 305.7 kB / 0.753 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002719/0.6117, allocations: 100.8 kB / 0.7531 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004458/0.6162, allocations: 1.708 MB / 0.7548 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003462/0.6197, allocations: 1.616 MB / 0.7564 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005587/0.6253, allocations: 2.417 MB / 0.7587 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.396e-05/0.6254, allocations: 11.94 kB / 0.7588 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.008041/0.6334, allocations: 3.091 MB / 0.7618 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6335, allocations: 11.94 kB / 0.7618 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.6335, allocations: 8 kB / 0.7618 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.6335, allocations: 23.98 kB / 0.7618 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.6357, allocations: 391.7 kB / 0.7622 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.43e-05/0.6358, allocations: 23.92 kB / 0.7622 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/0.639, allocations: 251.8 kB / 0.7624 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.6393, allocations: 87.97 kB / 0.7625 GB, free: 11.05 MB / 0.5294 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.000472/0.6398, allocations: 263.7 kB / 0.7628 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.6403, allocations: 216.9 kB / 0.763 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.6441, allocations: 0.8772 MB / 0.7638 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.6441, allocations: 4 kB / 0.7638 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6441, allocations: 0 / 0.7638 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.288e-06/0.6441, allocations: 3.984 kB / 0.7639 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.647, allocations: 1.232 MB / 0.7651 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.647, allocations: 0 / 0.7651 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.6481, allocations: 123.8 kB / 0.7652 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.6481, allocations: 0 / 0.7652 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.139e-05/0.6482, allocations: 15.98 kB / 0.7652 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6482, allocations: 0 / 0.7652 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.6482, allocations: 0 / 0.7652 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.6516, allocations: 0.9515 MB / 0.7661 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.6528, allocations: 389.8 kB / 0.7665 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/0.6532, allocations: 8 kB / 0.7665 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.6549, allocations: 91.89 kB / 0.7666 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.211e-05/0.655, allocations: 23.97 kB / 0.7666 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.33e-05/0.6551, allocations: 23.98 kB / 0.7666 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004355/0.6595, allocations: 2.043 MB / 0.7686 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6595, allocations: 3.938 kB / 0.7686 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003736/0.6632, allocations: 0.9021 MB / 0.7695 GB, free: 3.781 MB / 0.5294 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.001232/0.6645, allocations: 399.9 kB / 0.7699 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009223/0.6737, allocations: 3.473 MB / 0.7733 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6738, allocations: 0 / 0.7733 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.6751, allocations: 328.5 kB / 0.7736 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005648/0.6808, allocations: 0.9422 MB / 0.7745 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/0.7049, allocations: 4.944 MB / 0.7793 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/0.707, allocations: 1.642 MB / 0.7809 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003587/0.7106, allocations: 0.6674 MB / 0.7816 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/0.7114, allocations: 163.4 kB / 0.7818 GB, free: 7.195 MB / 0.545 GB Notification: Performance of SimCode: time 2.986e-06/0.7114, allocations: 0 / 0.7818 GB, free: 7.195 MB / 0.545 GB Notification: Performance of Templates: time 0.09267/0.8041, allocations: 43.75 MB / 0.8245 GB, free: 12.03 MB / 0.5919 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1)