Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009078/0.009078, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7723/0.7723, allocations: 132.4 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004019, allocations: 12.5 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4902, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002157/0.4924, allocations: 1.321 MB / 0.585 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007242/0.4931, allocations: 305.1 kB / 0.5853 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.4932, allocations: 0.8125 kB / 0.5853 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.4932, allocations: 5.906 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.244e-05/0.4933, allocations: 16.64 kB / 0.5853 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.4936, allocations: 70.34 kB / 0.5853 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.4938, allocations: 89.83 kB / 0.5854 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.494, allocations: 24 kB / 0.5855 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.4941, allocations: 37.44 kB / 0.5855 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.4942, allocations: 38.92 kB / 0.5855 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.4942, allocations: 3.469 kB / 0.5855 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.4943, allocations: 26.22 kB / 0.5856 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.4944, allocations: 13.56 kB / 0.5856 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.4944, allocations: 63.19 kB / 0.5856 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.4947, allocations: 98.06 kB / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4947, allocations: 0 / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.4947, allocations: 0.6562 kB / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.4947, allocations: 0 / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000612/0.4953, allocations: 394.6 kB / 0.5861 GB, free: 2.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.4954, allocations: 8.859 kB / 0.5861 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.4965, allocations: 140.9 kB / 0.5862 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.4966, allocations: 178.5 kB / 0.5864 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.4967, allocations: 3.781 kB / 0.5864 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.4967, allocations: 10.53 kB / 0.5864 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.4973, allocations: 162 kB / 0.5866 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4973, allocations: 4 kB / 0.5866 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.4974, allocations: 4.688 kB / 0.5866 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4974, allocations: 2.25 kB / 0.5866 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008157/0.4982, allocations: 172.4 kB / 0.5868 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.4992, allocations: 457 kB / 0.5872 GB, free: 1.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.5, allocations: 163.7 kB / 0.5873 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/0.5004, allocations: 82.55 kB / 0.5874 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.5004, allocations: 0.7031 kB / 0.5874 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.5005, allocations: 43.88 kB / 0.5875 GB, free: 1.441 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.684e-06/0.5005, allocations: 0 / 0.5875 GB, free: 1.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001352/0.5018, allocations: 280.1 kB / 0.5877 GB, free: 1.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.5019, allocations: 56.47 kB / 0.5878 GB, free: 1.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.502, allocations: 155.9 kB / 0.5879 GB, free: 1.172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.5021, allocations: 27.83 kB / 0.588 GB, free: 1.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.5021, allocations: 101.2 kB / 0.5881 GB, free: 1.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.5021, allocations: 19.77 kB / 0.5881 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.5022, allocations: 16.22 kB / 0.5881 GB, free: 1.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.5022, allocations: 320.7 kB / 0.5884 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.5027, allocations: 81.08 kB / 0.5885 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.5031, allocations: 82.23 kB / 0.5886 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/0.504, allocations: 166.1 kB / 0.5887 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.504, allocations: 0 / 0.5887 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001169/0.5052, allocations: 212.2 kB / 0.5889 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.5052, allocations: 102.2 kB / 0.589 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5052, allocations: 0 / 0.589 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5053, allocations: 1.375 kB / 0.589 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.5056, allocations: 44.64 kB / 0.5891 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5056, allocations: 0 / 0.5891 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.5058, allocations: 34.92 kB / 0.5891 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.5059, allocations: 8.594 kB / 0.5891 GB, free: 440 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.5059, allocations: 6.281 kB / 0.5891 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002424/0.5061, allocations: 64.92 kB / 0.5892 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-06/0.5061, allocations: 1.375 kB / 0.5892 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-06/0.5061, allocations: 0.5625 kB / 0.5892 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.5062, allocations: 26.31 kB / 0.5892 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.5063, allocations: 8.531 kB / 0.5892 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.5063, allocations: 13.28 kB / 0.5892 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.5064, allocations: 1.75 kB / 0.5892 GB, free: 408 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0001004/0.5065, allocations: 195.3 kB / 0.5894 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.5065, allocations: 9.25 kB / 0.5894 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.5066, allocations: 16.55 kB / 0.5894 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5066, allocations: 9.344 kB / 0.5894 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5066, allocations: 0 / 0.5894 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5066, allocations: 1.562 kB / 0.5894 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.5079, allocations: 0.489 MB / 0.5899 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5079, allocations: 4.969 kB / 0.5899 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.5082, allocations: 45.94 kB / 0.59 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5082, allocations: 1.938 kB / 0.59 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.5082, allocations: 3.531 kB / 0.59 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5082, allocations: 1.375 kB / 0.59 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5082, allocations: 1.984 kB / 0.59 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.5093, allocations: 315.3 kB / 0.5903 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.5094, allocations: 99.31 kB / 0.5904 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.5094, allocations: 2.75 kB / 0.5904 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.5097, allocations: 32.53 kB / 0.5904 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.5098, allocations: 5.234 kB / 0.5904 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.5098, allocations: 4.344 kB / 0.5904 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.51, allocations: 121.1 kB / 0.5905 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.51, allocations: 0 / 0.5905 GB, free: 15.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003514/0.5103, allocations: 31.12 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001472/0.5105, allocations: 94.27 kB / 0.5906 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.5116, allocations: 214.7 kB / 0.5908 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5116, allocations: 0 / 0.5908 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004512/0.512, allocations: 86.41 kB / 0.5909 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.5124, allocations: 12.17 kB / 0.5909 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.5138, allocations: 344.6 kB / 0.5913 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.5143, allocations: 0.6935 MB / 0.5919 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.5145, allocations: 14.83 kB / 0.592 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.5146, allocations: 18 kB / 0.592 GB, free: 14.32 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5147, allocations: 1.281 kB / 0.592 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Templates: time 0.00538/0.5201, allocations: 1.29 MB / 0.5932 GB, free: 14.22 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)