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.0008666/0.0008667, allocations: 98.03 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.005801/0.005801, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9337/0.9337, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003836, allocations: 13.05 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1759, allocations: 82.31 MB / 0.588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001905/0.1778, allocations: 1.317 MB / 0.5893 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007055/0.1786, allocations: 308 kB / 0.5896 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.1786, allocations: 0 / 0.5896 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.1787, allocations: 7.922 kB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.69e-05/0.1788, allocations: 15.8 kB / 0.5896 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.1791, allocations: 55.94 kB / 0.5896 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1792, allocations: 99.7 kB / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1794, allocations: 39.94 kB / 0.5898 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/0.1794, allocations: 31.86 kB / 0.5898 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.1795, allocations: 35.73 kB / 0.5898 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1796, allocations: 4 kB / 0.5898 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.1796, allocations: 27.97 kB / 0.5899 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.1797, allocations: 19.92 kB / 0.5899 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.1798, allocations: 53.5 kB / 0.5899 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.1799, allocations: 99.88 kB / 0.59 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1799, allocations: 0 / 0.59 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1799, allocations: 0 / 0.59 GB, free: 496 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1799, allocations: 0 / 0.59 GB, free: 496 kB / 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.00053/0.1805, allocations: 387.3 kB / 0.5904 GB, free: 60 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1805, allocations: 12.03 kB / 0.5904 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.1816, allocations: 140.6 kB / 0.5905 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1817, allocations: 176.2 kB / 0.5907 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1818, allocations: 8.375 kB / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1818, allocations: 4.375 kB / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005917/0.1824, allocations: 167.5 kB / 0.5909 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1824, allocations: 0 / 0.5909 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.1824, allocations: 7.984 kB / 0.5909 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1825, allocations: 4 kB / 0.5909 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.1832, allocations: 175.8 kB / 0.5911 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1843, allocations: 456.3 kB / 0.5915 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/0.185, allocations: 158.4 kB / 0.5916 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.1854, allocations: 84.91 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1854, allocations: 4 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1855, allocations: 30.56 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1855, allocations: 0 / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001236/0.1867, allocations: 281.2 kB / 0.592 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.1867, allocations: 55.41 kB / 0.5921 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1869, allocations: 165.4 kB / 0.5922 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1869, allocations: 25.7 kB / 0.5923 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.187, allocations: 100 kB / 0.5924 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.187, allocations: 15.81 kB / 0.5924 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.187, allocations: 13.7 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.1871, allocations: 318.8 kB / 0.5927 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.1875, allocations: 79.92 kB / 0.5928 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.1879, allocations: 83.92 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.1887, allocations: 160.7 kB / 0.593 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1887, allocations: 4 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008289/0.1895, allocations: 217.5 kB / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.1896, allocations: 104.9 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1896, allocations: 0 / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1896, allocations: 0 / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.1899, allocations: 43.95 kB / 0.5934 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1899, allocations: 0 / 0.5934 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.1901, allocations: 31.97 kB / 0.5934 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1902, allocations: 3.984 kB / 0.5934 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.1902, allocations: 8 kB / 0.5934 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002218/0.1904, allocations: 71.89 kB / 0.5935 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.1904, allocations: 256 / 0.5935 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-06/0.1904, allocations: 0 / 0.5935 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.1905, allocations: 23.98 kB / 0.5935 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1905, allocations: 7.938 kB / 0.5935 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.1906, allocations: 15.84 kB / 0.5935 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1906, allocations: 4 kB / 0.5935 GB, free: 12.68 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.000116/0.1907, allocations: 193.1 kB / 0.5937 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.1908, allocations: 7.906 kB / 0.5937 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/0.1908, allocations: 16.31 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1909, allocations: 7.875 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1909, allocations: 0 / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1909, allocations: 0 / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.192, allocations: 0.4921 MB / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.192, allocations: 3.938 kB / 0.5942 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.1922, allocations: 43.95 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1923, allocations: 4 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1923, allocations: 4.031 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1923, allocations: 0 / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.1923, allocations: 7.984 kB / 0.5943 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.1932, allocations: 317 kB / 0.5946 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.458e-05/0.1933, allocations: 96.94 kB / 0.5947 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1933, allocations: 0 / 0.5947 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1936, allocations: 23.97 kB / 0.5947 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1936, allocations: 11.98 kB / 0.5947 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1936, allocations: 8 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.825e-05/0.1937, allocations: 118.9 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1937, allocations: 0 / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003161/0.1941, allocations: 28 kB / 0.5948 GB, free: 11.2 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.0001246/0.1942, allocations: 103.2 kB / 0.5949 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009476/0.1951, allocations: 211.8 kB / 0.5951 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1952, allocations: 0 / 0.5951 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.1956, allocations: 91.97 kB / 0.5952 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1959, allocations: 13.83 kB / 0.5952 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1969, allocations: 328.5 kB / 0.5956 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1972, allocations: 0.7004 MB / 0.5962 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.235e-05/0.1973, allocations: 12 kB / 0.5963 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.1974, allocations: 23.41 kB / 0.5963 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.1974, allocations: 0 / 0.5963 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.003769/0.2012, allocations: 1.296 MB / 0.5975 GB, free: 8.379 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)