Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008161/0.0008162, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008575/0.0008577, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.338/1.338, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9811/0.9811, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003652, allocations: 8 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1775, allocations: 82.31 MB / 0.5886 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00183/0.1794, allocations: 1.321 MB / 0.5899 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007667/0.1802, allocations: 300.1 kB / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.1803, allocations: 4 kB / 0.5902 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.1803, allocations: 7.875 kB / 0.5902 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.252e-05/0.1804, allocations: 15.84 kB / 0.5902 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.1807, allocations: 59.88 kB / 0.5903 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1809, allocations: 99.69 kB / 0.5904 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.181, allocations: 35.92 kB / 0.5904 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.1811, allocations: 27.92 kB / 0.5904 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.1812, allocations: 39.77 kB / 0.5905 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1812, allocations: 0 / 0.5905 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.1813, allocations: 31.97 kB / 0.5905 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.1813, allocations: 3.938 kB / 0.5905 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.1814, allocations: 61.5 kB / 0.5906 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1815, allocations: 72.08 kB / 0.5906 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1815, allocations: 4 kB / 0.5906 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1815, allocations: 0 / 0.5906 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1815, allocations: 0 / 0.5906 GB, free: 0.5586 MB / 494.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.0005149/0.182, allocations: 387.3 kB / 0.591 GB, free: 136 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1821, allocations: 15.97 kB / 0.591 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.1831, allocations: 140.6 kB / 0.5912 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1832, allocations: 176.2 kB / 0.5913 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1833, allocations: 8.312 kB / 0.5913 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1833, allocations: 8.359 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.1839, allocations: 161.7 kB / 0.5915 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1839, allocations: 0 / 0.5915 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.1839, allocations: 7.938 kB / 0.5915 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1839, allocations: 0 / 0.5915 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.1847, allocations: 183.8 kB / 0.5917 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009411/0.1856, allocations: 452.4 kB / 0.5921 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/0.1864, allocations: 158.4 kB / 0.5923 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.1868, allocations: 92.91 kB / 0.5924 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1868, allocations: 0 / 0.5924 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1868, allocations: 30.56 kB / 0.5924 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1868, allocations: 0 / 0.5924 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001298/0.1881, allocations: 281.3 kB / 0.5926 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.1882, allocations: 51.41 kB / 0.5927 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1883, allocations: 161.4 kB / 0.5929 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1883, allocations: 29.7 kB / 0.5929 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1884, allocations: 104 kB / 0.593 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.1884, allocations: 11.81 kB / 0.593 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1885, allocations: 21.64 kB / 0.593 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.1886, allocations: 314.8 kB / 0.5933 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.1889, allocations: 83.92 kB / 0.5934 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.1893, allocations: 79.92 kB / 0.5935 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.1901, allocations: 164.7 kB / 0.5936 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1901, allocations: 0 / 0.5936 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000827/0.1909, allocations: 205.4 kB / 0.5938 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/0.191, allocations: 108.9 kB / 0.5939 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.191, allocations: 0 / 0.5939 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.191, allocations: 3.938 kB / 0.5939 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.1913, allocations: 43.89 kB / 0.594 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1913, allocations: 0 / 0.594 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1916, allocations: 35.97 kB / 0.594 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1916, allocations: 3.984 kB / 0.594 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.1916, allocations: 4 kB / 0.594 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002341/0.1918, allocations: 76.17 kB / 0.5941 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.1918, allocations: 0 / 0.5941 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-06/0.1918, allocations: 0 / 0.5941 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.1919, allocations: 19.98 kB / 0.5941 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.1919, allocations: 3.938 kB / 0.5941 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.192, allocations: 19.84 kB / 0.5941 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.192, allocations: 256 / 0.5941 GB, free: 12.75 MB / 0.4981 GB 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.0001027/0.1921, allocations: 193.1 kB / 0.5943 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.1922, allocations: 11.89 kB / 0.5943 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.1922, allocations: 12.31 kB / 0.5943 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1922, allocations: 3.938 kB / 0.5943 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1922, allocations: 4 kB / 0.5943 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1923, allocations: 11.94 kB / 0.5944 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1933, allocations: 0.4883 MB / 0.5948 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1933, allocations: 3.938 kB / 0.5948 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.1936, allocations: 40.02 kB / 0.5949 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1936, allocations: 4 kB / 0.5949 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1936, allocations: 3.984 kB / 0.5949 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.1936, allocations: 4 kB / 0.5949 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1936, allocations: 0 / 0.5949 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.1945, allocations: 316.9 kB / 0.5952 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.1946, allocations: 96.94 kB / 0.5953 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1946, allocations: 4 kB / 0.5953 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.1948, allocations: 27.97 kB / 0.5953 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.1949, allocations: 3.984 kB / 0.5953 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1949, allocations: 4 kB / 0.5953 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.245e-05/0.195, allocations: 130.9 kB / 0.5954 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.753e-06/0.195, allocations: 0 / 0.5954 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003034/0.1953, allocations: 27.94 kB / 0.5955 GB, free: 11.27 MB / 0.4981 GB 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.0001044/0.1954, allocations: 103.2 kB / 0.5956 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009077/0.1963, allocations: 203.8 kB / 0.5958 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1963, allocations: 0 / 0.5958 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.1967, allocations: 95.97 kB / 0.5959 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1971, allocations: 11.94 kB / 0.5959 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009933/0.1981, allocations: 358.2 kB / 0.5962 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.1983, allocations: 0.7004 MB / 0.5969 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.1984, allocations: 15.42 kB / 0.5969 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1984, allocations: 0 / 0.5969 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.002793/0.2012, allocations: 1.344 MB / 0.5982 GB, free: 8.387 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)